![]() All Time Favorite Computer Tip/Trick Best Practices & General IT.In the comments, we collect questions from members of the Spiceworks Community so our experts can respond in a future post.Now that Spiceworks has joined. AMA! Spiceworks OriginalsĪsk me Anything is a series where we interview experts with unique expertise, opinions, and stories. Most companies don't get a passing grade. Got the users mostly trained not to get fancy with file naming, but it's taken literally years. I'll dig around and see if I can find the exact regex strings I used for that and post them here. Probably not applicable to your situation, because of the windows server, but if you run into files that are really hard to rename, there's probably a similar technique for NTFS. I still ran into issues where I couldn't rename files because the OS file utilities couldn't touch them, and there's a trick where you can use the inode number to rename the file to something that you can then touch. Had to rename those and some other oddball ones, using mv on the unix file server command line. ![]() filenames beginning and ending in spaces were particularly sticky. Had to use several different regex searches, cause it's practically impossible to create one regex that works for everything. Emailed the devs and they were super helpful, after a couple of days sent me an advanced beta of the app with the bug fixed. Managed to trigger a bug cause my working set was over 1.5 million files, and it would try to preload all the filenames to search and would crash. Uses regex to find and replace so you can get most stuff renamed thru that. Not sure why SMB lets clients name files on shares with chars the OS can't manipulate, but that's just how it works.Īnyway, gave up doing this thru windows, used an OS X utility called Name Mangler, which I believe is in the app store. For example, rsync will happily silently skip over any file/folder that has the degree symbol in it's name. Macs will allow practically anything in the filename and this can even cause problems in linux/unix. We have a similar environment here, albeit with a unix fileserver, but I use a windows app to archive backup the fileserver to glacier, so the filename issues are alway a thing.
0 Comments
Leave a Reply. |