Search... for same files, but with different name

English support forum

Moderators: white, sheep, Hacker, Stefan2

Post Reply
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Search... for same files, but with different name

Post by *sexy69 »

I have 2 movie names with the same name in my directory.
They only differ by year, e.g.
Josee (2020) .srt
Josee (2021) .srt

How to find them in the catalog?

Containment (2015).srt
Josee (2020).srt
Josee (2021).srt
Slalom (2020).srt
User avatar
Horst.Epp
Power Member
Power Member
Posts: 4589
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Search...

Post by *Horst.Epp »

What catalog do you mean ?
Windows 11 Home x64 Version 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
Stefan2
Power Member
Power Member
Posts: 3369
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Search...

Post by *Stefan2 »

Find Files > [Advanced] >> [x] Find duplicate files >>>> same size / same contents





 
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Re: Search...

Post by *sexy69 »

catalog=folder

These are different files, only in the name
differ by year. (2020) and (2021)

Josee (2020) .txt
Josee (2021) .txt
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Re: Search... for same files, but with different name

Post by *sexy69 »

And the funniest thing is that Total Commander changes
year incrementing by 1 when copying a file with the same name.

The names of movies on the Internet are saved as: Movie (2000)
After copying, it changes to (2001).

Maybe it would be better if TC saved the file as:
Film (2000) [2], Film (20001) [3]
or:
Film (2000) {2}, Film (20001) {3}.
User avatar
nsp
Power Member
Power Member
Posts: 1429
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Search... for same files, but with different name

Post by *nsp »

The increment is due to your naming convention title (Year). (number) at the end, is understood by TC as a duplicated file if you select auto-rename.
Unfortunately, you cannot edit the template used by auto_rename just switch mode to allow a space or not before (number).

You should suggest alternate mode or template for auto_rename !
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Re: Search... for same files, but with different name

Post by *sexy69 »

„just switch mode to allow a space or not before (number)”

Where can it be toggled?
User avatar
petermad
Power Member
Power Member
Posts: 10903
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Search... for same files, but with different name

Post by *petermad »

2sexy69
Where can it be toggled?
In the [Configuration] section of your wincmd.ini file:
Help wrote:AutoRenameMode=3 Determines how files are auto-renamed when copying or in multi-rename tool. Sum of:
1: append number (x) separated by space, e.g. name (2).txt instead of name(2).txt
2: start number at (2), not (1), e.g. name.txt, name (2).txt etc.
So AutoRenameMode=1 will add a space before the number, and start counting at 1.
Last edited by petermad on 2021-10-30, 14:21 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.30b1 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Re: Search... for same files, but with different name

Post by *sexy69 »

TC without AutoRenameMode=3 changes
Hacker (2016) (1).mkv to Hacker (2016) (2).mkv

So I have to rename every movie from
Hacker (2016).mkv to Hacker (2016) (1).mkv?
User avatar
petermad
Power Member
Power Member
Posts: 10903
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Search... for same files, but with different name

Post by *petermad »

2sexy69
So I have to rename every movie from
Hacker (2016).mkv to Hacker (2016) (1).mkv?
Yes or someting else without (x) in the name - suggetsions:
Hacker [2016].mkv
Hacker {2016}.mkv
Hacker_2016.mkv
Hacker - 2016.mkv
Hacker-2016.mkv

If you don't use [] or {} in your movie file names, it should be pretty easy to do the first tho suggestions with TC's Multi-Rename Tool.

BTW if you in Windows Explorer (Windows 7) copy Hacker (2016).mkv to a folder where it already exists, then Explorer will also copy it to Hacker (2017).mkv if you choose not to overwrite - so TC is compatible with Explorer in that respect.

Window 10's File Explorer does not even give the option of autorenaming the files (Windows constantly is becomming a lesser product)
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.30b1 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sexy69
Member
Member
Posts: 116
Joined: 2016-06-22, 17:21 UTC

Re: Search... for same files, but with different name

Post by *sexy69 »

It should be possible to choose the form of the subscription.
Hacker (2016).mkv
to
Hacker (2016) (2).mkv
Hacker (2016) (3).mkv

or:
plik (2)
to
plik (2) (2)
Post Reply