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

Re: pad numbers



On Sat, Nov 15, 2008 at 12:40 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
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??\ *


Oh man, that's so cool!  (It worked great)

-fREW



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