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

Re: Rename files



> > > I'm trying to rename a lot of files. I just want to substitute underlines
> > > with whitespaces. How can I do that?
> 
> you could try mmv
> for example, if files are:  foo_bar
> just do
> 	mmv "foo*bar" foo\ bar	(the quotes are required)
> 
this gives you nothing: normal mv would do that, too.
what you mean is probably:
mmv '*_*' '#1 #2'
the problem arises, if there are multiple _ around.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Linux - the last service pack you'll ever need.


Reply to: