Download ReNamer User Manual
Transcript
Examples of Rearrange rule 123 From: To: DSC_0001.jpg D:\photos\trip\2009_10_21\DSC_0001.jpg DSC_0002.jpg D:\photos\trip\2009_10_21\DSC_0002.jpg DSC_0003.jpg D:\photos\trip\2009_10_25\DSC_0003.jpg Settings: Delimiter: - (none) New pattern: D:\photos\trip\:EXIF_Date:\$0 Remarks: 1. Note that this EXIF data is contained in the meta tag of each photo, not in the file name. 2. The meta tag :EXIF_Date: is replaced by the actual date taken for each photo. Thus all photos taken on the same date will be moved to the same folder. 3. The actual name of the folder would depend on the Date and Time format settings. Example 4 Task: Delete the last part of the base name (but the extension should remain). Note that the file names have different lengths, so you cannot slice the name at a particular position. The names have a different depths also (number of segments separated by dots). From: title.text1.text2.extension To: title.text1.extension title.text1.text2.text3.extension title.text1.text2.extension Setting: The solution requires a stack of two different rules, as shown below: 1. Replace Rule Find: "." (without the quotes) Replace: "#" (without the quotes) Check "[X] Last" to find and replace last occurrence of an dot only. Check "[X] Skip Extension" to not replace the file/extension separator as last dot. (this is a temporary change; which will be eliminated in the second step) 2. Rearrange rule Delimiter: "#" (without the quotes) New Order: $1 Remarks: We had to do this indirectly because the Rearrange rule cannot pick only the last dot as delimiter; and ignore the other dots. So we used a trick: we first changed the last dot into another character (using the Replace rule), and then use that new character as delimiter in the Rearrange rule.