[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Batch Process Photographs
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
In Bash:
rename dsc holiday *.jpg
Will change the first instance of 'dsc' found in a file name to
'holiday' and will do this to all the files ending with '.jpg' in the
directory.
Hope that helps.
Andy.
_______________________________________________
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