Delete name-duplicate except the newest file
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 62
- Joined: 2003-04-11, 07:46 UTC
- Location: Denmark
Delete name-duplicate except the newest file
Hi, is there any easy way to delete name-dublets except the newest file in TC. In TC 6.51 I ensured that files are sorted by date. Then I use hotkey ALT-F7 for search, under advanced I pick "find duplicate files" for "same name" only and do the search, then I hit "feed to listbox", where there then is a bunch of files, some with either 2,3, to 5 duplicates.
Apparently the duplicates isn't sorted by date, which makes it quite hard to identify the older name-duplicates for deletion.
Here it would be nice with some select all except newest name-duplicate.
Is there any solution today?
Apparently the duplicates isn't sorted by date, which makes it quite hard to identify the older name-duplicates for deletion.
Here it would be nice with some select all except newest name-duplicate.
Is there any solution today?
Best regards
Lars
Lars
-
- Junior Member
- Posts: 62
- Joined: 2003-04-11, 07:46 UTC
- Location: Denmark
Re: Delete name-duplicate except the newest file
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Re: Delete name-duplicate except the newest file
You can sort the list after feed to listbox.LarsSandberg wrote:Hi, is there any easy way to delete name-dublets except the newest file in TC. In TC 6.51 I ensured that files are sorted by date. Then I use hotkey ALT-F7 for search, under advanced I pick "find duplicate files" for "same name" only and do the search, then I hit "feed to listbox", where there then is a bunch of files, some with either 2,3, to 5 duplicates.
Apparently the duplicates isn't sorted by date, which makes it quite hard to identify the older name-duplicates for deletion.
Here it would be nice with some select all except newest name-duplicate.
Is there any solution today?
Just press the column header as usual
There is nothing displayed but it still sorts to this.
-
- Junior Member
- Posts: 62
- Joined: 2003-04-11, 07:46 UTC
- Location: Denmark
Hi Horst, thats right, but the problem is that with date sorting after feed to listbox, sorts the files, so they aren't shown as duplicate groups any more. So this is unusable. I guess that you didn't try?You can sort the list after feed to listbox
Sheepdog, thanks for the clonespy tip, this little utility is great for the task
Best regards
Lars
Lars
You're welcome.LarsSandberg wrote: Sheepdog, thanks for the clonespy tip
Yes I think so.LarsSandberg wrote:, this little utility is great for the task

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
You must enable sorting by date BEFORE searching duplicates.... the problem is that with date sorting after feed to listbox, sorts the files, so they aren't shown as duplicate groups any more. So this is unusable. I guess that you didn't try?
If you want a full control, then create a custom column including a date.
If you want to sort files after a search, then create a custom column with a file name, extension and a date combined in one column
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC 7 will contain a new command which will select all files in the same directory, so this may help if the files and their duplicates are in different dirs. It has helped me already once. If anyone has another idea of selecting files in this situation, then it's NOW the time to suggest it, because I'm still in the phase of adding new functions.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Keep the files that areghisler(Author) wrote:If anyone has another idea of selecting files in this situation, then it's NOW the time to suggest it, because I'm still in the phase of adding new functions.
- newest
- oldest
- with longest
- [3.1] filename
[3.2] full path (path inc. filemname)
[3.3] Dir path (path without filename)
- [3.1] filename
- with shortest
- [4.1] filename
[4.2] full path (path inc. filemname)
[4.3] Dir path (path without filename)
- [4.1] filename
- Export a List of all equal files
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Could match

- Certainly fell in the Bottomless Well of the Good Old Brainwaves, someting that could match the topic, as a buit-in feature.
- Indeed, it isn't updated, but I guess that the principle could do the trick, in a so simple way…


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
-
- Junior Member
- Posts: 62
- Joined: 2003-04-11, 07:46 UTC
- Location: Denmark
-
- Junior Member
- Posts: 62
- Joined: 2003-04-11, 07:46 UTC
- Location: Denmark
Hi. Lev. I tried that, with sort on creation-date (custom-column), after that I tried with feed to listbox.Lev wrote:OK, then what about a custom column? - I've tested it before posting and it works
Result: This doesn't work either. I have made a screendump ready as a png-file, which proves what I say, however I can't see how to attach a picture from my harddrive in this post, so I posted on a ftp-server:
ftp://83.93.73.168
login is anonymous
Best regards
Lars
Lars