Rename multiple files at once
Will H. Backman
whb at ceimaine.org
Fri Dec 2 19:22:16 UTC 2005
Bash scripts are your friend!
Off the top of my head, so may be a little wrong.
Starts with something like:
c = 0
for i in *.jpg
do
c++
mv i c.jpg
done
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-
> bounces at lists.ubuntu.com] On Behalf Of Wade Smart
> Sent: Friday, December 02, 2005 2:13 PM
> To: ubuntu-users at lists.ubuntu.com
> Subject: Rename multiple files at once
>
> 12022005 1312 GMT-5
>
> I have a odd situation where I have to rename 130 picture files from a
> random number to 1.jpg, 2.jpg, etc. Is there anyway to automate that?
> Quickly!
>
> Wade
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list