rename multiple files

Forum rules
Before you post please read how to get help
T1M
Level 1
Level 1
Posts: 1
Joined: Thu Mar 08, 2012 12:40 pm

rename multiple files

Postby T1M » Thu Mar 08, 2012 12:56 pm

In the script that you wrote, what would I add to it in order to accomplish the following
created a directory in a specified path that reflects the date,
then copy all of the files from a source to be named ( one of two different types of cards, CF II, and SD)
and rename them to the date+number. (tif, jpg, NEF) original last ext?
Two files copied today would look like this
/home/Tim/pictures/030812/03081200001.NEF
and --------------------------------/03081200002.NEF

If there is currently a picture file organizer that does this already, I would be just as happy to use that as well.

Thanks!!

User avatar
xenopeek
Level 23
Level 23
Posts: 19236
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: rename multiple files

Postby xenopeek » Thu Mar 08, 2012 1:54 pm

Post split from topic viewtopic.php?f=90&t=80535. by moderator
Image

User avatar
xenopeek
Level 23
Level 23
Posts: 19236
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: rename multiple files

Postby xenopeek » Thu Mar 08, 2012 2:23 pm

Don't all photo managing applications do it like this? Like F-Spot, Shotwell, and so on?

If you want it scripted, do you want to use the current date, the file creation date (on the filesystem), or the date the photo was taken?
Image

User avatar
nomko
Level 10
Level 10
Posts: 3030
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: rename multiple files

Postby nomko » Thu Mar 08, 2012 2:43 pm

Hmmm....is this thread about renameing multiple files at once? Then try one of these programs:

pyrenamer
gwenrename
krename (this one i can recommend)
mrename
purrr

And there are a lot more file renaming tools


Return to “Scripts & Bash”

Who is online

Users browsing this forum: No registered users and 2 guests