renaming illegal mac characters for windows

Posted by lw on 12:33 PM

I need to backup or copy all of the files from one server to another but mac users can save their files on windows servers with characters that are illegal for NTFS.  OK Don't ask me how they can do it and windows users can't, but they obviously can.

So there may be hundreds of files over multiple directories that will interupt my copy or backup and I do not want to babysit a copy all weekend... wait for error, rename, continue copying...wait for error, rename etc...

The best way I found to solve this is to use PFrank to rename them all.

http://www3.telus.net/pfrank/

I choose to "delete all non-alphanumeric characters in" "all"

and edit the list to include:

(?x)[?"/\:*<>|] # delete non-alphanumeric

That whole line goes in there BTW.

The symbol  will also get rid of those little dots underneath characters.  Funnily enough, sometimes it looks like a pair of scissors.  Weird... but probably not.

0 comments:

Post a Comment