Paste filenames the way they actually arrive. Edit the list and the output updates.
Contract_FINAL_v2 (1).docx
Contract_Untitled_v02.docx
01 Legalthe filename says nothing about the contents
invoice mar 5.pdf
????-03-05_Invoice_Untitled_v01.pdf
02 Financethe filename says nothing about the contents
CES deck FINAL FINAL.pptx
Deck_CES_v01.pptx
03 Presentationsno date in the filename, add one
NDA-Gauzy-signed.pdf
Contract_NDA-Gauzy-Signed_v01.pdf
01 Legalno date in the filename, add one
meeting notes 03052024.docx
2024-03-05_Notes_Meeting_v01.docx
04 Meetings
Q3 budget draft3.xlsx
Budget_Q3_v03.xlsx
02 Financeno date in the filename, add one
agenda_10.25.24.docx
2024-10-25_Agenda_Untitled_v01.docx
04 Meetingsthe filename says nothing about the contents
glasstec booth quote rev2.pdf
Invoice_Glasstec-Booth-Quote_v02.pdf
02 Financeno date in the filename, add one
IMG_2841.jpg
Photo_IMG-2841_v01.jpg
06 Assetsno date in the filename, add one
That is the naming convention I worked out for Gauzy's SharePoint, running. Paste in filenames the way they actually arrive and it will rewrite them and say which library they belong in. It flags the ones a person still has to look at, because a tool that guesses silently is worse than no tool.
There were about nine thousand files in there and no agreed way to name any of
them. The same contract existed as Contract_FINAL.docx,
Contract_FINAL_v2.docx, and Contract_FINAL_v2 (1).docx. Nobody could tell
which was signed. People stopped searching and started asking me instead, which
is how I became the search bar.
I did not want to rename nine thousand files by hand, so I worked out the rules first. Every filename really only needs four things: when it is from, what kind of document it is, what it is about, and which version. Date first, so a folder sorts itself. Type second, so the library it belongs in is obvious. The word FINAL carries no information once there is a version number, so it goes.
Then I used AI for the boring half. I gave it a few hundred of the worst
filenames and asked it to find every date format in use. It came back with
eight, including 03052024 and 10.25.24, which I would not have thought to
check for. I turned those into rules, ran the batch, and reviewed only the
files the rules could not place. That last pile was about two hundred, not nine
thousand.