> I'm looking for an easy way to rename or delete a bunch of files that
> have windows type names. Names with ( ,' and spaces in them. I have a
> little oneliner that will do this for files in the current dir.
> # replace spaces with _ change ' ' to '(' to replace (
> for i in *.*; do mv "$i" `echo $i | tr ' ' '_'`; done
How's this look?
Levi
(Hope this doesn't get bounced!)
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:24:32 EDT