[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using stupid filenames in shell scripts



On Thu, May 15, 2003 at 04:13:27PM +0200, Joerg Johannes wrote:
> If you are going to produce new mp3's, you will consider naming them without 
> spaces. Just replace all spaces with underscores _ . If you want to know how 
> to rename all existing files, wait for Colin Watson to answer, he is 
> something like the "script guru" over here.

Mmph, am I? Gosh. Personally I'd be inclined to use:

  rename 'y/ /_/' *.mp3

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: