%% "Chris Chiasson" <[EMAIL PROTECTED]> writes:

  cc> Thank you. Since I intend to stick with make:
  cc> Does anyone have a utility script (that could be adapted) to
  cc> mass-sanitize some jpg files?

Here's a one-liner in basic Bourne shell:

  find . -name \*.jpg | while read f; do mv "$f" `echo "$f" | sed 's/ /-/g'`; 
done

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to