Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
renameing numbered files
- X-seq: zsh-users 10431
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: renameing numbered files
- Date: Sun, 25 Jun 2006 05:25:45 +0200 (CEST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
in a directory there are a couple of file named:
Example0092.txt
Example0093.txt
Example0094.txt
Example0095.txt
Example0096.txt
Example0097.txt
Example0098.txt
Example0099.txt
Example0100.txt
Example0101.txt
Example0102.txt
which I want to rename to:
Example0102.txt
Example0103.txt
Example0104.txt
Example0105.txt
Example0106.txt
Example0107.txt
Example0108.txt
Example0109.txt
Example0110.txt
Example0111.txt
Example0112.txt
i.e. The first file of the new range should get the number of the
file, which would be the next new one of the old range.
The numbers themselves are only examples here, they could be of all
range.
How can I do this in a most zshy way?
Thank you very much for any help in advance !
Keep zshing!
mcc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author