[X4U] How can I easily replace '/' with '-' in file names?
Juan Pablo
jpablovilla at spymac.com
Wed Mar 16 08:57:27 PST 2005
you may try to run a script in the directory you have your files
it could be something like this
for files in * ; do
newname=$(echo $files | sed 's/\//-/g')
cp $files $newname
done
im sorry i havent tryed it but i think it could work
On Mar 16, 2005, at 1:04 PM, Robert Ameeti wrote:
> I recently started backing up my PowerBook to the server at work but
> the OS at work is Windows. As such, the files within my PowerBook that
> are named with a '/' cause Apple's Backup program to error.
>
> How can I easily change all occurrences of the '/' character to a '-'
> character?
> _______________________________________________
> X4U mailing list
> X4U at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x4u
>
> Listmom is trying to clean out his closets! Vintage Mac and random
> stuff:
> http://search.ebay.com/_W0QQsassZmacguy1984
>
More information about the X4U
mailing list