List of files with the same extension
Moderators: white, Hacker, petermad, Stefan2
List of files with the same extension
I have a folder with several subfolders and various files in them. How in Total Commander in the main window on the right, display a list of files with only one extension, e.g. .xls files from all those locations. In addition, I would like them to be ordered from the latest created file. How to do it?
Re: List of files with the same extension
- define the filter: CTRL+F12, set *.xls as filter type
- show files in branch view: CTRL+B
- to reset filter use CTRL+F10
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Re: List of files with the same extension
Thanks a lot. It works like a charm. Is there possible to create button for something like this?
Re: List of files with the same extension
2Razkut
First you have to set the filter by putting this command in your usercmd.ini file (located where your wincmd.ini file is placed):
Then you can use the command in combination with commands for seting "Branch view" and sorting by date with this button:
EDIT:
Changed the usercmd.ini command here above.
------------------
If you want the button to work with any file extension use:
and button:
------------------
You can also use this button, which doesn't require a usercmd.ini command, but it is slower:
when using this button, the file mask is not changed, thus it is not necessary to reset it with Ctrl+F10, when leaving Branch view
Yes but i takes two steps.Is there possible to create button for something like this
First you have to set the filter by putting this command in your usercmd.ini file (located where your wincmd.ini file is placed):
Code: Select all
[em_showXlsOnly]
cmd=cd ;"*.xls"
Code: Select all
TOTALCMD#BAR#DATA
em_showXlsOnly,cm_DirBranch,cm_SrcByDateTime 1
%COMMANDER_EXE%,26
Show.xls files in Branch view, sorted after creation date
-1
To make the button:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".
EDIT:
Changed the usercmd.ini command here above.
------------------
If you want the button to work with any file extension use:
Code: Select all
[em_showSameExtensionOnly]
cmd=cd
param=%Z;"*.%E"
Code: Select all
TOTALCMD#BAR#DATA
em_showSameExtensionOnly,cm_DirBranch,cm_SrcByDateTime 1
wcmicons.dll,24
Show files with type under cursor in Branch view, sorted after creation date
-1
You can also use this button, which doesn't require a usercmd.ini command, but it is slower:
Code: Select all
TOTALCMD#BAR#DATA
cm_DirBranch,cm_SrcByDateTime 1,cm_SelectCurrentExtension,cm_ShowOnlySelected,cm_ClearAll
wcmicons.dll,13
Show files with type under cursor in Branch view, sorted after creation date
-1
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: List of files with the same extension
I perform this kind of tasks quite a lot - searching all files of a certain type from a lot of subfolders. And I think I have another and easier approach. As stated in help file: "When using one of the quick search options with search dialog, a button will be shown which causes Total Commander to filter out all files which do NOT match the filter."
So if I wanted to find and filter out all excel files in a nested folder structure I would simply press CTRL+B (Branch view), press and hold ALT and type ".xls" (the . is important), click the dialog button or press CTRL+S (if I hadn't done that on an earlier search as the stated is being remembered) and only excel files will be shown.
Only requirement is to have the Quick Search hotkey set for either "Ctrl+Alt+letters", "Alt+letters" or "Letters with search dialog".
So if I wanted to find and filter out all excel files in a nested folder structure I would simply press CTRL+B (Branch view), press and hold ALT and type ".xls" (the . is important), click the dialog button or press CTRL+S (if I hadn't done that on an earlier search as the stated is being remembered) and only excel files will be shown.
Only requirement is to have the Quick Search hotkey set for either "Ctrl+Alt+letters", "Alt+letters" or "Letters with search dialog".