convert spaces

Derek Broughton news at pointerstop.ca
Wed Feb 20 14:40:00 UTC 2008


Felipe Figueiredo wrote:

> On Wed 20 Feb 2008 04:42:43 Michael Kadzioch wrote:
>> How to convert spaces to underscores in linux filenames
>> I am looking for an automatic (batched) solution.
>> 
> 
> rename 's/ /_/g' *

Wow.  That was way too simple.  I hadn't ever run across "rename" before.
-- 
derek





More information about the ubuntu-users mailing list