rename files

D_at_nny
Date: 11/13/04


Date: Sat, 13 Nov 2004 20:21:28 GMT

Hi,

i want to rename a lot of files in a dictory. the orginal names
have spaces and i want to replace these spaces by under_scores.
so the file-names must remain the same except that the spaces
are replaced by under_scores.
eg. Led Zeppelin - Remasters - 05 Whole lotta love.mp3 would
become: Led_Zeppelin_-_Remasters_-_05_Whole_lotta_love.mp3

and how would you do it if you would have a result like:
Led_Zeppelin-Remasters-05_Whole_lotta_love.mp3 (??) where the
space-dash-space is replaced by only a dash.

D@nny

-- 
If A is success in life, then A equals x plus y plus z. Work is
x; y is play; and z is keeping your mouth shut. - Albert
Einstein


Relevant Pages

  • Re: rename files
    ... > i want to rename a lot of files in a dictory. ... Frequently Asked Questions (faq) Search engine: ...
    (alt.os.linux)
  • Re: rename files
    ... >i want to rename a lot of files in a dictory. ... In csh and look-alikes, as in tcsh: ... Rouben Rostamian ...
    (alt.os.linux)