#1 : 14/05-16 18:14 Jannes hoekman
Posts: 4
|
I have files to rename with the extension tif and xml, but its important that the tif and xml have the same name
For example 0001.xml 0001.tif 0002.xml 0002.tif ... 0010.xml 0010.tif ect. When I say add the files and sort them on name then I see ooo1.tif and the xml-file that should be 0001.xml is called 0002.xml When I sort on extension I see that the files are not in the right order |
#2 : 15/05-16 12:13 Kim Jensen
Administrator
Posts: 883 |
Reply to #1:
It all really depends on the methods you use and the names prior to renaming. I don't know how your files are named so it is difficult to guide you in the right direction. |
#3 : 15/05-16 16:30 Jannes hoekman
Posts: 4
|
Reply to #2:
They have the following name / structure OLD NAME NEW NAME MH51 Ezra 01_0000_0102.tif 0001.tif MH51 Ezra 01_0000_0102.xml 0001.xml MH51 Ezra 01_0000_0103.tif 0002.tif MH51 Ezra 01_0000_0103.xml 0002.xml MH51 Ezra 01_0000_0104.tif 0003.tif MH51 Ezra 01_0000_0104.xml 0003.xml ... MH51 Ezra 01_0000_0112.tif 0010.tif MH51 Ezra 01_0000_0112.xml 0010.xml ect Because the folder already has the name of author and book thats why the files now must have the NEW NAME you see above and I can't rename them at once so I first add the tif and rename them in 0001.tif, 0002.tif ect AND click START BATCH and the I add the xml-files and rename them in 0001.xml, 0002.xml ext |
#4 : 16/05-16 09:21 Jannes hoekman
Posts: 4
|
Reply to #3:
OLD NAME NEW NAME MH51 Ezra 01_0000_0102.tif 0001.tif MH51 Ezra 01_0000_0102.xml 0001.xml MH51 Ezra 01_0000_0103.tif 0002.tif MH51 Ezra 01_0000_0103.xml 0002.xml MH51 Ezra 01_0000_0104.tif 0003.tif MH51 Ezra 01_0000_0104.xml 0003.xml ... MH51 Ezra 01_0000_0112.tif 0010.tif MH51 Ezra 01_0000_0112.xml 0010.xml ect NEW NAME 0001.tif 0001.xml 0002.tif 0002.xml ... 0010.tif 0010.xml |
#5 : 17/05-16 10:47 joci
Posts: 11
|
Reply to #4:
Good morning TRY: NEW NAME method <RSubStr:1:4> Have a nice day Jon |
#6 : 17/05-16 13:27 Jannes hoekman
Posts: 4
|
Reply to #5:
Thank you very very much so far. It worked, but there is only one problem left When I have a file MH51 Ezra 0040 tif MH51 Ezra 0040 xml MH51 Ezra 0041 tif MH51 Ezra 0041 xml MH51 Ezra 0042 tif MH51 Ezra 0042 xml MH51 Ezra 0043 tif MH51 Ezra 0043 xml MH51 Ezra 0044 tif MH51 Ezra 0044 xml MH51 Ezra 0045 tif MH51 Ezra 0045 xml MH51 Ezra 0046 tif MH51 Ezra 0046 xml MH51 Ezra 0047 tif MH51 Ezra 0047 xml MH51 Ezra 0048 tif MH51 Ezra 0048 xml MH51 Ezra 0049 tif MH51 Ezra 0049 xml MH51 Ezra 0050 tif MH51 Ezra 0050 xml THEN They are renamed in 0040.tif AND 0040.xml BUT I always want the numbering to start with 0001.tif AND 0001.xml SO 0001.tif 0001.xml 0002.tif 0002.xml 0003.tif 0003.xml ect. 0010.tif 0010.xml |
#7 : 16/07-16 11:53 Tester123
Posts: 92
|
Reply to #5:
Add a second method (after joci's 'New Name' method) to renumber the sequence: Method: Renumber Number position: 1 Change to: Absolute number New number: 1 Skip: 1 Zero padding: Manual Number length: 4 Apply to: Name |