User Tools

Site Tools


howto:rename_personal_images

How to rename personal images

First, Why? I have renamed most of my images so they begin with 1986 to 2014 or any year that begins with a 19 or 20. I do not want to manually rename them again and put anther date year at the beginning.

So I can use DropIt and in particular Date and Time abbreviations (for photos is recommended to use the “Taken” group of associations, for other files “Created” is a good solution).



Example 1

So, in this first example I want to Rename all jpg files that do not begin with 19 nor 20, to the Date and Time taken and keep the old file name and extension, too:

Rules: *.jpg/19*/20*

/ in this example means “Not if it begins with”.
19* and 20* means “anything following a 19 or 20”.
*.jpg means “any filename with a jpg extension” (AKA a “wildcard”).
The entire rule says “work on any jpg /not if it begins with 19 and /not if it begins with 20”.

Destination: %YearTaken%%MonthTaken%%DayTaken%-%HourTaken%%MinuteTaken%%SecondTaken%_%FileNameExt%

The result would look like this: 20140104-161834_Fruits in a Woven Basket.jpg
Notice the dash between the date and time, and underscore after seconds.

Note that even if the original filename was 18 Fruits in a Woven Basket.jpg, the new filename would be 20140104-161834_18 Fruits in a Woven Basket.jpg because 18 is not excluded, only 19 or 20.

Instead an original filename ‘20 Fruits in a Woven Basket.jpg’ would be skipped in the rename task because of the 20. This is the reason why we used /19*/20*.
You must then rename it yourself it to remove the 20 and then run it through again to get the date and time and then edit to put the '20' back into the filename (obviously if you want to).



Example 2

Here, I want to Rename all jpgs so they begin with the Date taken as YYYYMMDD, dash, dash, Time taken as HHMMSS, underscore, and keep the old filename and extension:

Rules: *.jpg

Destination: %YearTaken%%MonthTaken%%DayTaken%--%HourTaken%%MinuteTaken%%SecondTaken%_%FileNameExt%

It would look like this: 201303115--093304_DSC00043.jpg
Notice the dash dash between date and time, and underscore after seconds.



Example 3

Here, I want to Rename all gifs so they begin with the word PICTURE, underscore, Date taken as YYYYMMDD, @, Time taken as HHMMSS, underscore, and keep the old filename and extension:

Rules: *.gif

Destination: PICTURE_%YearTaken%%MonthTaken%%DayTaken%@%HourTaken%%MinuteTaken%%SecondTaken%_%FileNameExt%

It would look like this: PICTURE_20120704@134522_MVC000024.gif



Example 4

In this example, I want to Rename all gifs so they begin with the word PICTURE, underscore, Date taken as YYYYMMDD, @, Time taken as HHMMSS, underscore, use USER INPUT while looking at picture, space, and keep the old filename and extension:

Rules: *.gif

Destination: PICTURE_%YearTaken%%MonthTaken%%DayTaken%@%HourTaken%%MinuteTaken%%SecondTaken%_%UserInput% %FileNameExt%

It would look like this: PICTURE_20120704@134522_Betty at the Beach MVC000024.gif

The ‘Magic DropIt Word’ %UserInput% pops up a window on screen so the user can input words accurately to include them into the renaming of the image MVC000024. The user in this example typed Betty at the Beach. Looks accurate because the date of the photo is July 4th at 1:45pm.

howto/rename_personal_images.txt · Last modified: 2014/10/04 10:39 (external edit)