multiple file rename using "format" …
mac-osx(sierra) 10.12.6
anyone here consider themselves a mac guru? in mac's finder, selecting several files and depressing the ctrl-key offers those files to be renamed. three different methods in renaming:
- replace-text
- add-text
- format
so, i choose the format method. there’s 100+ files in my work-folder … which i wish to have sequentially numbered. in order to accomplish this, name-format would be set at “name and counter” … where would use “after name” … custom-format would be “test_” … start-number-at would be set at “1”. we can see, at bottom-left of the small interface, an example … in my case, the example appears as test_00001.pdf. eureka, mac-os adds leading 0’s to the file-name.
and this rename feature works really well. by that, i mean first file is 00001 … tenth file shows as 00010 … hundredth file shows to be 001000 … excellent! the leading 0’s are dropping off … so the number of characters in the file always remains the same. if i had a thousand files, another 0 would drop off. all is well and good in mac world.
however … am wondering if it’s possible to reduce the number of leading 0’s. instead of four leading 0’s … i’d like only two leading 0’s. could this be done within mac’s terminal app?
of course, there is a work-around … after performing the rename(format) procedure, i could select all the files and rename(replace-text method) “00” with a “blank” … 00001 would then be 001 … 00010 would then be 010 … 00100 would then be 100 … etc. however, i’d like to consolidate the procedure into a single step, if possible.
another plausible option, i suppose, would be using mac’s automator program … which i have never used.
as always … thanks for everyone’s interest.
iMac Pro