zsh-users
 help / color / mirror / code / Atom feed
From: Meino Christian Cramer <Meino.Cramer@gmx.de>
To: zsh-users@sunsite.dk
Subject: renameing numbered files
Date: Sun, 25 Jun 2006 05:25:45 +0200 (CEST)	[thread overview]
Message-ID: <20060625.052545.74742529.Meino.Cramer@gmx.de> (raw)


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
 


             reply	other threads:[~2006-06-25  3:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-25  3:25 Meino Christian Cramer [this message]
2006-06-25  4:54 ` Bart Schaefer
2006-06-25  5:12   ` Meino Christian Cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060625.052545.74742529.Meino.Cramer@gmx.de \
    --to=meino.cramer@gmx.de \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).