Help needed and Suggestions

Advanced Renamer forum
#1 : 09/05-15 17:48
Ralf Zrenner
Ralf Zrenner
Posts: 6
Hello,

here is my (shortened) list of files in a folder:

[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Glass) -[Orginal]Picture_001 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_002 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg
P1000817.jpg
P1000817_bem.jpg
P1000820.jpg

Now i select the folder in windows explorer, right click and select "Add to Advanced Renamer"

How can i now
- choose all files (in selected folder and subfolders) that don't have [PCh] in its names
- rename the remaining files so that
-- the "P1000###" files (### is number) are renamed like the [PCh] PRIVATE.... files and numbered consecutive behind "Picture_"
-- the "P1000###_bem" files get the same "Picture_" number behind "Picture_" as the same file without "_bem" but with an "m"
behind the (new) number

How it should look like after renaming:

[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Glass) -[Orginal]Picture_001 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_002 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg

P1000817.jpg => [PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_003 ...
P1000817_bem.jpg => [PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_004m ...
P1000820.jpg => [PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_004 ...


I know one can use "regex" but it's too complicated for normal users, so my suggestions is:

1) Add a wizzard for selecting files/folders in the following way:
====================================================
File / Folder Selection Wizard
----------------------------------------------------------------------------------------------
Please select:

[+] ALL Files

[-] Files that [not] contain string(s)
Please enter string: _________ to contain [ ] or not contain [ ]
Search from Position: __ {First, Nr.} to Position: __ {Nr., Last}
Search the first ___ positions AND [ ] OR [ ] the last ___ poistions
[+] AND [+] OR
(... for adding more strings to search with AND/OR logic)

[+] AND [+] OR

[-] Files that contain number(s)
Please enter start number: ____ End number: ____ Step: ___
Number of Leading Zeros: __
Mixed Numbes (with/without leading zeros: [yes/no]
Use __ {1st, 2nd...Last) numbering in filename for search
[+] AND [+] OR
(... for adding more numbers to search with AND/OR logic)

[+] AND [+] OR

[-] with file extension that
contain [ ] or not contain [ ]
Please enter extension(s) {seperate by commas): ___________
[+] AND [+] OR
(... for adding more extensions to search with AND/OR logic)

[+] AND [+] OR
(... for adding more of the whole selections above - strings+numbers+ext.)
====================================================

So when right-clicking a folder and selecting "Add to Advanced Renamer"
the wizard should pop-up thus i am able to add all files that
- contain "[WoF]" at position 1 to 40 AND
- contain numbering from 1 to 180 in mixed mode (can contain leading numbers like "009") where the
second found numbering in filename should be used at search AND
- not contain "(2014" at the last 10 positions of the filename

OR

- contain "[PCh]" at first 5 positions AND
- not contain numbering 1 to 2 with 2 leading zeros AND
- not contain extension png, gif, bmp

Example filename list:
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Glass) -[Orginal]Picture_001 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_002 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Wood) -[Orginal]Picture_003 (3264x1840px, 24bit, 180dpi) [de] [2014-05-01].jpg
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Steel) -[Orginal]Picture_004 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].png
[PCh] PRIVATE -- Selling (eBay) - [WoF] Cabinet (Steel) -[Orginal]Picture_005 (3264x1840px, 24bit, 180dpi) [de] [2015-05-01].jpg

The first expression wouldn't find any matching filenames (because of "numbering...second found numbering" not from 1 to 180)

The second expression will find filename 3 and 5 from the above filename list
(all file contain [PCh], but filename 1 and 2 are sorted out because of "not contain numbering..." and filename 4 ist sorted out because
of "not contain 'png' in extension" )


2) It would be nice if you can add "Delete" to Advanced Renamer so one not only can rename, copy and move but also
delete files. In combination with my suggestion for the "File /Folder Selection Wizard" your program would also be an
excellent tool for file and folder handling.

Greetings from germany
Ralf


09/05-15 17:48