[{"data":1,"prerenderedAt":170},["ShallowReactive",2],{"glossary-en-auto-sort-files-in-google-drive":3},{"id":4,"title":5,"body":6,"category":160,"description":161,"draft":162,"extension":163,"meta":164,"navigation":165,"path":166,"seo":167,"stem":168,"__hash__":169},"glossary_en\u002Fglossary\u002Fauto-sort-files-in-google-drive.md","How to auto-sort files in Google Drive",{"type":7,"value":8,"toc":147},"minimark",[9,13,18,21,57,69,73,76,79,83,92,95,99,111,116,123,127,130,134],[10,11,12],"p",{},"Google Drive has no built-in auto-sort: nothing in Drive will move new or existing files into folders for you. To auto-sort files in Google Drive you have three real options — bulk-move with Drive search, write an Apps Script, or use a third-party AI sorting tool. Which one fits depends on whether your files are well named and how many there are.",[14,15,17],"h2",{"id":16},"option-1-semi-manual-sorting-with-drive-search","Option 1: semi-manual sorting with Drive search",[10,19,20],{},"Not automation, but the fastest manual method and fine up to a few dozen files.",[22,23,24,44,47,54],"ol",{},[25,26,27,28,32,33,32,36,39,40,43],"li",{},"In the Drive search bar, use operators to isolate a batch: ",[29,30,31],"code",{},"type:pdf",", ",[29,34,35],{},"before:2025-01-01",[29,37,38],{},"owner:me",", or a keyword like ",[29,41,42],{},"invoice",".",[25,45,46],{},"Select all results (click one, then Ctrl\u002FCmd+A).",[25,48,49,50,53],{},"Press ",[29,51,52],{},"Z"," (Drive's move shortcut) and pick the destination folder.",[25,55,56],{},"Repeat per category.",[10,58,59,60,64,65,68],{},"The cost: this sorts by what the ",[61,62,63],"em",{},"filename or type"," says, not by what the document is. ",[29,66,67],{},"scan_0042.pdf"," stays unsortable, and you redo the whole exercise next month.",[14,70,72],{"id":71},"option-2-google-apps-script","Option 2: Google Apps Script",[10,74,75],{},"Apps Script can list files in a folder and move them based on conditions you code — name patterns, MIME type, date. It runs free in your Google account and can even be put on a timer.",[10,77,78],{},"The cost: you write and maintain JavaScript, the script only knows what's in the file's metadata (not its content), and a wrong condition can scatter files with no preview. Reasonable for developers with consistently named files; frustrating otherwise.",[14,80,82],{"id":81},"option-3-ai-sorting-tools","Option 3: AI sorting tools",[10,84,85,86,91],{},"An ",[87,88,90],"a",{"href":89},"\u002Fglossary\u002Fai-file-organizer-for-google-drive","AI file organizer for Google Drive"," reads each file's content — including scans and photos, via OCR — and files it by what it actually is. This is the only approach that works when filenames are meaningless.",[10,93,94],{},"With Sorters, the flow is: describe your target structure once as a template (free text plus dynamic fields like year, document type, supplier), pick the files with the Google Drive picker, and run the sort — each file is read, renamed, and moved per your rules, with a preview while you configure. It's on-demand: you launch each sort yourself, and the free plan covers 50 files a month, which is enough to test on a real backlog.",[14,96,98],{"id":97},"which-one-should-you-pick","Which one should you pick?",[100,101,102,105,108],"ul",{},[25,103,104],{},"Under ~30 files, well named → Option 1, ten minutes, done.",[25,106,107],{},"Recurring batches, consistent filenames, you code → Option 2.",[25,109,110],{},"Badly named files, scans, or a large backlog → Option 3.",[112,113,115],"h3",{"id":114},"can-google-drive-sort-files-automatically-by-itself","Can Google Drive sort files automatically by itself?",[10,117,118,119,122],{},"No. Drive offers sorting of the ",[61,120,121],{},"view"," (by name, by date) and search, but it never moves files. Any actual auto-sorting comes from a script or a third-party tool.",[112,124,126],{"id":125},"does-auto-sorting-break-shared-links","Does auto-sorting break shared links?",[10,128,129],{},"Moving a file within Drive does not change its ID, so existing share links keep working. Renaming doesn't break links either.",[112,131,133],{"id":132},"related","Related",[10,135,136,137,141,142,146],{},"Decide on a target layout first — see ",[87,138,140],{"href":139},"\u002Fglossary\u002Fgoogle-drive-folder-structure","Google Drive folder structure: examples that work"," — and if your batch is mostly bills, the worked example in ",[87,143,145],{"href":144},"\u002Fglossary\u002Forganize-invoices-in-google-drive","how to organize invoices in Google Drive"," maps directly.",{"title":148,"searchDepth":149,"depth":149,"links":150},"",2,[151,152,153,154],{"id":16,"depth":149,"text":17},{"id":71,"depth":149,"text":72},{"id":81,"depth":149,"text":82},{"id":97,"depth":149,"text":98,"children":155},[156,158,159],{"id":114,"depth":157,"text":115},3,{"id":125,"depth":157,"text":126},{"id":132,"depth":157,"text":133},"Guides","Three ways to auto sort files in Google Drive — search operators, Apps Script, and AI sorting — with honest notes on what each one costs you.",false,"md",{},true,"\u002Fglossary\u002Fauto-sort-files-in-google-drive",{"title":5,"description":161},"glossary\u002Fauto-sort-files-in-google-drive","aqjs1Xe5LeOLOBDELGKhADZQW4T63ynODaLMq9eeU3I",1785276343920]