You are not logged in.
Pages: 1
I'm sure there's a more technical way to describe this. I have about 6000 files numbered filename000000 through filename006000, but I'd like to change their names so they go from filename000240 through filename006240. I can't seem to find that as an option, and I would have no idea how to write a script that would do that. Can someone help me out here? Thanx in advance. --ds
Offline
There is no need for a script, this should be possible to accomplish with standard rules.
For example, follow these steps:
1) Enable "Natural sorting algorithm" in the Settings.
2) Sort by the filename.
3) Remove existing index (i.e. 000000 - 006000)
4) Use Serialize rule to add new index starting from 240 and padded to 6 digits.
Offline
Thank-you for the information. I think that I have added the rules correctly, and indeed the new name list looks correct. However, I get a warning that says "found 5097 invalid filename(s)! 5097 of which conflict of which conflict with existing filepath(s)." (I actually only have 5097 files not 6000), and the exclamation point symbol. But since the new name list looks correct should I ignore the warning?
Offline
You shouldn't ignore the validation warning.
It basically tells you that when you will try to rename all these files, most of the target file names will be already taken by existing files.
For example:
filename000000 -> filename000240 (already exists)
filename000001 -> filename000241 (already exists)
You can either insert a dummy character to new file names (e.g. insert "_" as prefix) and later remove it, or rename all these files to a new folder by inserting a folder component in front of file names (e.g. insert "Temp\" as prefix).
Offline
Thanx, I thought of your first suggestion as I was going to sleep last night, and indeed as you suggested it worked perfectly. Thanx again. --ds
Offline
Pages: 1