Dan Crosta on 22 Feb 2006 14:54:54 -0000 |
Art Alexion wrote: I am trying to iron out a script that renames all files in a current directory to replace embedded spaces with underscores, and makes everything lower case.
mv "$OLD" "$NEW". The way I usually handle things like this is with ls -1 and sed... but that may not be appropriate for this job. Also, don't forget about python :) dsc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|