Selecting files with same name or name+ext
Moderators: white, Hacker, petermad, Stefan2
Selecting files with same name or name+ext
Suppose you have a list of files like
_DSC8038.xmp
_DSC8032.xmp
_DSC8030.xmp
_DSC8021.xmp
_DSC8019.xmp
I would like to be able to select files with the same names but different extensions, like
_DSC8038.raw
_DSC8032.raw
_DSC8030.raw
_DSC8021.raw
_DSC8019.raw
And also to be able to select files with exactly same names+extensions on another panel.
Is there any way to create such plugin or command?
_DSC8038.xmp
_DSC8032.xmp
_DSC8030.xmp
_DSC8021.xmp
_DSC8019.xmp
I would like to be able to select files with the same names but different extensions, like
_DSC8038.raw
_DSC8032.raw
_DSC8030.raw
_DSC8021.raw
_DSC8019.raw
And also to be able to select files with exactly same names+extensions on another panel.
Is there any way to create such plugin or command?
Re: Selecting files with same name or name+ext
HISTORY.txt wrote:10.03.21 Release Total Commander 10.00 public beta 1
02.03.21 Added: New internal field tc->partner file with other extension finds e.g. all jpg files
where there is a raw file with the same name in the same directory (32/64)
- Search in separate process... Alt+Shift+F7
- Delete field content from field "Search in:"
- Click on the "Plugins" tab
- [✓] Search in plugins
Code: Select all
Plugin Property OP Value tc partner file with other extension = xmp
- Click on the "Load/Save" tab
- Click on button "Save"
- Template name, e.g. Partner_file_with_extension_XMP (no space in the name!), Button "OK", Button "Cancel"
- Change to the folder with .xmp and .raw files
- Menu "Show" - "Custom... Ctrl+F12" -> click on: Partner_file_with_extension_XMP (>Partner_file_with_extension_XMP is shown), OK
- Result: Files with extension .raw are shown (file filter for .raw files)
- Remove file filter for .raw files: Menu "Show" - "All Files Ctrl+F10"
What do you mean exactly?
Re: Selecting files with same name or name+ext
The command to select files with exactly same names+extensions on another panel
Make this button
Make this button
Code: Select all
TOTALCMD#BAR#DATA
cm_SelectAllBoth,cm_CopyNamesToClip,cm_FocusTrg,cm_GoToFirstEntry,cm_ClearAll,cm_LoadSelectionFromClip,cm_CopyNamesToClip,cm_FocusTrg,cm_ClearAll,cm_LoadSelectionFromClip
wcmicons.dll,49
Mark files and folders that exist in both windows
0
-1
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1374a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1374a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Selecting files with same name or name+ext
2Horst.Epp
Yes, that's it!
Thank you!
Yes, that's it!
Thank you!
Re: Selecting files with same name or name+ext
If I remember I have stolen this from petermad
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1374a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1374a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Selecting files with same name or name+ext
I also borrow a few buttons from him every now and then
Thankfully, he posts them in the forum.
2mSnus
This command, e.g. in a button: cm_MatchSrc could also be interesting in connection with this topic:
Code: Select all
cm_MatchSrc 532 Target=Source
Code: Select all
TOTALCMD#BAR#DATA
LOADSEARCH
?==Partner_file_with_extension_XMP
wcmicons.dll,47
LOADSEARCH ?==Partner_file_with_extension_XMP -> ENTER|finds e.g. all raw files where there is a xmp file with the same name in the same directory|Selecting files with same name or name+ext|https://www.ghisler.ch/board/viewtopic.php?f=14&t=74365
-1
Re: Selecting files with same name or name+ext
Strange, it doesn't seem to work in beta 5, 32bit, Windows 7. I can see flickering but no marked files/folder while they should be. Will test Win10 later if I don't forget (looking at the commands it should work)
Edit: clipboard manager got in the way (TC commands to fast)
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Selecting files with same name or name+ext
Tags: "if exists" "existing" "also in other panel"
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Re: Selecting files with same name or name+ext
It's the 'list' of files in the directories illustrated by mSnus in the initial post, Flasher.
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.