zsh-users
 help / color / mirror / code / Atom feed
* renaming with number prefix
@ 1998-01-23 15:54 Sven Guckes
  1998-01-23 16:21 ` Thomas Koehler
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Sven Guckes @ 1998-01-23 15:54 UTC (permalink / raw)
  To: ZShell Users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1998-01-28  1:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-23 15:54 renaming with number prefix Sven Guckes
1998-01-23 16:21 ` Thomas Koehler
1998-01-23 16:24 ` Bruce Stephens
1998-01-23 16:40 ` Nate Johnston
1998-01-23 17:09 ` Stephen Marley
1998-01-23 17:19 ` Bart Schaefer
1998-01-28  1:21   ` nirva
1998-01-23 17:28 ` Peter Williams
1998-01-23 21:47 ` Ulrich Pfeifer

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).