Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pad numbers



2008/11/15 fREW Schmidt <frioux@xxxxxxxxx>:
> Ah shoot, I forgot to mention that the files are actually named like this
> 01 - foo bar.baz
>
> maybe
> noglob zmv -W ??\ (*) 0??\ \1

The point of -W is you can do
noglob zmv -W ??\ * 0??\ *

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author