Return to Snippet

Revision: 66821
at July 9, 2014 00:33 by flatearthcomms

Initial Code
for i in *; do mv "$i" "`echo $i | sed -e 's, ,-,g'`"; done

Initial URL

Initial Description
cd to directory, then run the line below to change any spaces in a filename to hyphens

Initial Title
Replace spaces with hyphens in Mac file names

Initial Tags
unix, osx, terminal

Initial Language