| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 135682 | 2013-11-30 11:21:00 | App or Script to search & replace file names with specific characters | Geek4414 (12000) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1361244 | 2013-11-30 11:21:00 | Trying to upload 10s of thousands of files to Sharepoint online and it does not like some files and file names. There are thousands of such files peppered around subfolders and the copying stops when it hits one of these files. Using Richcopy keeps the copying going but still have to look through the log to track down and fix them and then manually copy them. It is a real pain. Files that chokes the copying ... * Any temp Word/Excel files with ~filename.doc or ~Wsome-number.tmp * Any files that has two dots before the extension, eg thisfile..xls or thatfile..doc * Any files or folders with # in the name Windows search can't isolate these files with ~ prefix. Searching ~*.doc brings up ALL doc files. At the end I resorted to cmd line dir ~*.doc /a /s > result.txt, then open the txt file and did some manual search & replace and turn it into a batch file to delete all the found files. It works but still tedious. I can't apply the same trick with the double dot in the file name. Got a batch rename program for the files with # but still have to find/locate them first. Any suggestions on an App or script that can search and rename across thousands of nested folders? |
Geek4414 (12000) | ||
| 1361245 | 2013-11-30 12:27:00 | I've used this (www.bulkrenameutility.co.uk) with success before :) | pcuser42 (130) | ||
| 1361246 | 2013-12-02 11:19:00 | I've used this (www.bulkrenameutility.co.uk) with success before :) Great find! I think I have used that before too but couldn't remember what it was called. It's brilliant, did the trick, renamed couple of thousand files and deleted over a couple thousand thumbs.db files and word temp files. It managed to search for files with the double dot, but can't rename them for some reason, but that's ok, only couple of hundred of those files to deal with. At least I can deal with it all in one screen without having to nagivate around the folders to do them. Thank you for posting that, save me untold amount of hours of work! |
Geek4414 (12000) | ||
| 1361247 | 2013-12-03 22:02:00 | Have a look here (www.snapfiles.com) | beama (111) | ||
| 1 | |||||