User Tools

Site Tools


howto:rename_personal_images

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:rename_personal_images [2014/02/07 10:40]
lupo73
howto:rename_personal_images [2014/10/04 10:39] (current)
Line 1: Line 1:
 ====== How to 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 ===== ===== Example 1 =====
  
-**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).\\ +**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:**
-So, in this first example I want to Rename all jpgs and gifs 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;*.gif/​19*/​20*''​+Rules: ''​*.jpg/​19*/​20*''​
  
 ''/''​ in this example means "Not if it begins with"​.\\ ''/''​ in this example means "Not if it begins with"​.\\
 ''​19*''​ and ''​20*''​ means "​anything following a 19 or 20".\\ ''​19*''​ and ''​20*''​ means "​anything following a 19 or 20".\\
 ''​*.jpg''​ means "any filename with a jpg extension"​ (AKA a "​wildcard"​).\\ ''​*.jpg''​ means "any filename with a jpg extension"​ (AKA a "​wildcard"​).\\
-The entire rule says "work on any jpg and any gif /not if it begins with 19 and /not if it begins with 20".+The entire rule says "work on any jpg /not if it begins with 19 and /not if it begins with 20".
  
-Destination:​ ''<​nowiki>​%YearTaken%%MonthTaken%%DayTaken%-%HourTaken%%MinuteTaken%%SecondTaken% %FileNameExt%</​nowiki>''​+Destination:​ ''<​nowiki>​%YearTaken%%MonthTaken%%DayTaken%-%HourTaken%%MinuteTaken%%SecondTaken%_%FileNameExt%</​nowiki>''​
  
-The result would look like this: ''​20140104-161834 Fruits ​in a Woven Basket.jpg''​+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 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.+''​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*''​.\\ 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 rename it yourself ​or rename ​it to remove the 20 and run it through again to get the date and time and then edit to put it back in (obviously if you want to).+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 ===== ===== Example 2 =====
  
-**Here, I want to Rename ​(only) ​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:​**+**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''​ Rules: ''​*.jpg''​
Line 33: Line 43:
 It would look like this: ''<​nowiki>​201303115--093304_DSC00043.jpg</​nowiki>''​\\ It would look like this: ''<​nowiki>​201303115--093304_DSC00043.jpg</​nowiki>''​\\
 Notice the dash dash between date and time, and underscore after seconds. Notice the dash dash between date and time, and underscore after seconds.
 +
 +\\
 +----
  
 ===== Example 3 ===== ===== Example 3 =====
  
-**Here, I want to Rename ​(only) ​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:​**+**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''​ Rules: ''​*.gif''​
Line 43: Line 56:
  
 It would look like this: ''​PICTURE_20120704@134522_MVC000024.gif''​ It would look like this: ''​PICTURE_20120704@134522_MVC000024.gif''​
 +
 +\\
 +----
  
 ===== Example 4 ===== ===== Example 4 =====
  
-**In this example, I want to Rename ​(only) ​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:​**+**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''​ Rules: ''​*.gif''​
Line 54: Line 70:
 It would look like this: ''​PICTURE_20120704@134522_Betty at the Beach MVC000024.gif''​ 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.+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.1391766023.txt.gz · Last modified: 2014/10/04 10:38 (external edit)