Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pad numbers
- X-seq: zsh-users 13453
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "fREW Schmidt" <frioux@xxxxxxxxx>
- Subject: Re: pad numbers
- Date: Sat, 15 Nov 2008 19:40:32 +0100
- Cc: "Wayne Davison" <wayned@xxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pc/REgr2H5A9HrvkX1dS22aa5Z5eM8qsT6kTNw6X0YE=; b=VSjwcbK3SRVEl+bVgor+aUc4hS03tjmsVZleAYa385xC8YAYVgg+q9gGesw2f8OafA BCMYSl7YZg8ra20WhwZLwMdcFFQqj0pJ7PSu74env4t7evUANA9xdSKF4P1+GU+l+7CD vNgPk0YYaHKaDhEOQNywKf8O4p5jqNPiNNFik=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aLwzI4L1qmOlgW9UuZwII2hIx6+Kx35e/YXAn4W7OFp0Dd98V26yssZ9VDv3dEDfDr qbYrLneEpDxnNp8SLQV/O5T21SK21MiR+0ZDoU0ZXPPdIhC1DiGgIQEbWSlKZANT9aFB 8bOpz6A8YZCS91QBX1pMwg7WtQtKuDeJKNWvg=
- In-reply-to: <fb3648c60811151036l32c43737k66b5faf57a142e9b@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fb3648c60811151008m68a8125jbe0db623500516ee@xxxxxxxxxxxxxx> <20081115183337.GF3238@xxxxxxxxx> <fb3648c60811151036l32c43737k66b5faf57a142e9b@xxxxxxxxxxxxxx>
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