AmigaActive (552/1263)

From:Neil Bothwick
Date:10 Jul 2001 at 09:55:54
Subject:Re: Renaming files

Neil Bothwick said,

> Jason Monk said,

>>> I wouldn't recommend Opus for this, as you'd have to type all the
>>> new names. A line of ARexx would be far more suitable.

>> So where is it then Neil?

> Wherever you saved it after writing it :)

Or you cold use this one

rx "address command 'list all files lformat ""%F%N"" to T:tmp';call open(in,'T:tmp','R');do i=1 to 9999 until eof(in);f=readln(in);if f='' then iterate;call rename(f,AddPart(PathPart(f),'XXX_'right(i,4,'0')'.jpg'));end;call close(in)"

Cheers

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine

Life's a cache, and then you flush...

Quote carefully and read all ADMIN:README mails
To unsubscribe mailto:amigactive-unsubscribe@yahoogroups.com
Anyone sending unsubscribe messages to the list will be SHOT!

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/