#1 : 24/07-24 03:08 Jalen Kimble
Posts: 9
|
Say I have 13 folders and I rename them Pet 1-13. Then I rename 235 files to Owner 1-235. How do I make sure I don't get numbers like 04 for the former and 006 and 082 for the latter?
Also, how do I get rid of extra zeroes from files and folder already renamed the normal way (e.g. it usually numbers like 07 and 04 when the total amount of stuff to rename is in the double digits)? |
#2 : 24/07-24 08:31 Delta Foxtrot
Posts: 264
|
Reply to #1:
Hi Jalen, Look under Settings / Renaming. Uncheck "Use zero padding in Inc Nr tags". Then use <Inc Nr> or <Inc NrDir> to insert numbers. If you already have numbers padded with zeros you can use a Renumber method to "unpad" them. As an alternate you can use a Replace method or a "Remove pattern" method. I'll leave you to study the User Guide to noodle those out. Best, DF |
#3 : 28/07-24 03:10 Jalen Kimble
Posts: 9
|
Reply to #2:
How do I unpad them using a Renumber, Remove, and/or "Remove pattern" methods, exactly? |
#4 : 28/07-24 05:36 Delta Foxtrot
Posts: 264
|
Reply to #3:
Say you have filenames Owner 01.xxx, Owner 002.xxx, Owner 096.xxx RENUMBER: Number position: 1 Change to: Relative to existing number Number difference: 0 Zero Padding: Manual Number length: 0 Apply to: Name The number position tells ARen how "deep" in the filename the number occurs that you want to rename. For instance, if you had a filename like "2024-07-27 Owner 01.xxx" you'd set the Number position to 4, because there are three unique number groups that come before the number group you want to change. REPLACE METHOD: Replace: " [0]*" (no quotes, just used to denote the space before the zero(s). Replace with: " " (just replace the space, or use whatever other character you might like) Regular expressions CHECKED To use a REMOVE PATTERN method you'd just put 0* in the Pattern: field, and use regular expressions. The same methods would work for the directories. The remove pattern won't work if there are other zeros in your file or folder names. If there are other <space>0 occurrences the replace method would change them too, unless you set "Occurrence:" to the right occurrence (in 3.x, not in 4.0b). Best, DF |