[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Batch Process Photographs
Hi Richard,
2009/7/12 Richard Ibbotson <richard@xxxxxxxxxxxxxx>:
> I'd like to title 200 photographs so that the image name can be
> changed from something like dsc3.jpg to holiday3.jpg. Would be nice
> if the batch process would convert all images in sequence as well so
> that dsc1.jpg becomes holiday1.jpg and dsc200.jpg becomes
> holiday200.jpg
>
http://www.google.co.uk/search?q=batch+rename+files+linux
Led me to:-
http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal
Which has a nice example:-
$ rename -n 's/(\d{8})\.JPG$/BeachPics_$1\.jpg/' *.JPG
00001111.JPG renamed as BeachPics_00001111.jpg
00001112.JPG renamed as BeachPics_00001112.jpg
00001113.JPG renamed as BeachPics_00001113.jpg
Which looks like it could be useful.
Cheers,
Al.
_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html
GNU - The Choice of a Complete Generation