LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-30-2006, 11:41 AM   #1
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Rep: Reputation: 30
Rename Files With Date Picture Taken On Command


What I have is a lot of pictures, about 2k, and I would like to rename them say: Picture1.jpg, Picture2.jpg ... But starting with the first picture that was taken. Can I get a command that would read the timstamp of the picture, and then tell it to sort them from 1 to 2,000?

Thanks for any help as usual!
 
Old 10-30-2006, 01:18 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
There are a few places where you might get the date from:
  1. The files last modification date on the filesystem. This will likely be the time the photo was downloaded from the camera to your computer, or the last time you copied the file to a new device/location. Hence it's probably not ideal.
  2. From EXIF meta-data in the image files. This is probably the best option, assuming the camera you used to produce the images sets it, and has it's clock set correctly!

I found this program, which looks like it will do what you want, renrot. It'll also rotate images which have an EXIF tag to say that this should be done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rename file with date stamp MacSob Linux - General 6 09-13-2005 02:30 PM
How can I rename a lot of files with a single command? pujolasdf Linux - Software 4 07-20-2005 06:27 AM
Command line: Rename several dist files at the same time ExCIA Linux - Newbie 2 04-28-2005 11:12 AM
Any programs to rename a image to it's EXIF date ? CRego3D Linux - Software 1 11-08-2004 03:25 PM
rename files on a command line? CrazyPilot Linux - General 9 06-30-2004 05:10 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration