| ||
2002-07-12 10:55 / renaming files »
I was going to say how easy it is to rename files without a GUI, but Part 3
below took a while for me to figure out because of spaces in filenames and
There seems to be quite a few bits of shareware - or maybe 'spivware' if you go
with oblomovka (more blogs akin to this) - that replicates functionality that can be easily done in the shell. So,
combined with I think someone on macslash's site who asked "is the shell
for anyone except geeks", I thought I'd just show how it can be used it to, e.g., rename files. This is all in
Part 1:
Part 2:
Neither of those recurse though. For that you need
Part 3: find . -name "*.html" | while read fname do mv "$fname" "`dirname $fname`/`basename $fname .html`.shtml" done
The only thing here that you won't find easily with man ( Er .. that'll be $15 please ;-) | ||