rename multiple files

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
T1M

rename multiple files

Post by T1M »

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!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: rename multiple files

Post by xenopeek »

Post split from topic http://forum.linuxmint.com/viewtopic.php?f=90&t=80535. by moderator
Image
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: rename multiple files

Post by xenopeek »

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
nomko

Re: rename multiple files

Post by nomko »

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
Locked

Return to “Scripts & Bash”