Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
renaming with number prefix
- X-seq: zsh-users 1255
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: ZShell Users <zsh-users@xxxxxxxxxxxxxxx>
- Subject: renaming with number prefix
- Date: Fri, 23 Jan 1998 16:54:04 +0100
Problem:
Rename all files within a directory such that their names
get a numeral prefix in the default sort order.
Example:
$ ls
abc bar baz foo zyxxy
$ <command>
$ ls
1.abc 2.bar 3.baz 4.foo 5.zyxxy
So - what's that <command>?
Btw, "leading zeroes" would be a bonus.
Sven
Messages sorted by:
Reverse Date,
Date,
Thread,
Author