etc, you get the point. I would like to do this. add a '0' to the front of EVERY file that DOESNT already have one. If this causes a double (as it would in the above case) instead of renaming it deletes it. however I dont want to add a 0 to 10, 11, 12, etc
my file naming is consitent so im thinking this logic
IF "file name" starts with "1-" change to "01-"
IF "old file name" = "new file name" delete file
anyhelp (ive heard maybe this could be done with regular expressions but i know nothign about them) would be appreciated
The rename settings below will do it, except that they automatically add a number to the end of any conflicting names instead of deleting the files.
If you really want to delete conflicting files then I think you would have to use a VBScript rename button (which would have to be very careful not to delete names which didn't change). Probably not worth it unless you really need it.
Here's the regexp:
Old name: ^[0-9][^0-9].*
New name: 0\0
Type: Regular Expressions [x] Automatically rename if new filename exists
The way I would do it would be to create a new button in customize mode and then give it the following command:
Set FLATVIEW=MixedNoFolders,Toggle
Exit customize mode, navigate to the folder you want, press the button which puts Opus in flat view mode for files only, select the files, and rename them as you did before. Then if necessary, click your flat view button again to reset the view mode back to normal.