On Wed, 8 Jun 2005, Matthew Miller wrote:
On Wed, Jun 08, 2005 at 04:12:39PM -0500, Erich Schroeder wrote:On fedora you can use rename. [erich@groucho temp]$ touch test.wav.mp3 [erich@groucho temp]$ rename .wav.mp3 .mp3 *.wav.mp3 [erich@groucho temp]$ ls *.mp3 test.mp3
Man, I find that more confusing and harder to remember than the bash loop approach. :)
Sorry, of course the only line that was needed was:
rename .wav.mp3 .mp3 *.wav.mp3
And
rename .htm .html *.htm
will fix the extension of your html files, if you should need it. I particularly use it to lowercase the .pdf extension when a bunch of them are provided me by windows folks.
eks
-- Matthew Miller mattdm@xxxxxxxxxx <http://www.mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> Current office temperature: 80 degrees Fahrenheit.
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
--------------------------------------------------------------------- Erich Schroeder Phone: (217)785-0033 Curator, Learning Center FAX: (217)785-2857 Illinois State Museum GIS Lab email:erich(at)illinois.state.museum http://www.museum.state.il.us/ Linux user #18660 ---------------------------------------------------------------------