Need command to Select files and folders with a pattern?
Moderators: white, Hacker, petermad, Stefan2
Need command to Select files and folders with a pattern?
Doghouse (2009) <- DVD
Demolition (2016).avi
Re-Kill (2015).mkv
Synchronicity (2016).mp4
To select files and folders (click the icon in the toolbar), those that have -> (2016)?
em_show(Years)
?
Demolition (2016).avi
Re-Kill (2015).mkv
Synchronicity (2016).mp4
To select files and folders (click the icon in the toolbar), those that have -> (2016)?
em_show(Years)
?
Last edited by sexy69 on 2016-08-15, 14:20 UTC, edited 2 times in total.
You can use
Dalai
- Num+, enter "*(2009)*" (without the quotes) to select all matching objects in the current directory
- search for the objects using Alt+F7 and subsequently select them all (Num*)
- use branch view (Ctrl+B) and subsequently use Num+ (see first option)
- and I'm quite sure there are other ways to do it
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Doghouse (2009) <- DVD
Synchronicity (2016) <- DVD
Demolition (2016).avi
Re-Kill (2009).mkv
Image: http://home.arcor.de/guciu/test1.jpg
Doghouse (2009) <- DVD
Synchronicity (2016) <- DVD
Demolition (2016).avi
It does not work on directories, remained:
Doghouse (2009) <- DVD
Synchronicity (2016) <- DVD
Demolition (2016).avi
Re-Kill (2009).mkv
Image: http://home.arcor.de/guciu/test1.jpg
Doghouse (2009) <- DVD
Synchronicity (2016) <- DVD
Demolition (2016).avi
It does not work on directories, remained:
Doghouse (2009) <- DVD
Uh, what do you intend to do with "cd *2016*"? What do you TC expect to do? To which of the directories should it change path to? In the OP you were talking about selecting files/dirs - "cd" doesn't select anything, it changes the directory.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Well, that may be just a side-effect. And as I said: wrong command for the purpose. You may want to try cm_SelectBoth or SELECTFILES <pattern> commands. However, I'm not sure you want to select objects (like you said in the OP) or just apply a filter to the current view (like you just said). So please, try to be more precise.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ctrl+S (Quick Filter), type *2016*, done.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Don't press Enter, just follow the steps above.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Yes, of course everything else disappears when you filter the current view. That's why I said: be more precise. When you say you only want to see what's in 2016, I just assumed you want to filter. But in your OP you said you wanted to select files/folders, although your (non-existing) command em_show(year) suggests otherwise. So, I hope you understand my confusion.
If you want to filter the current view - i.e. show only files matching the filter - use Ctrl+S. If you want to select files/dirs without hiding any files, use SELECTFILES <pattern> or cm_SelectBoth, or use the search function - choose what's the most appropriate for the current task.
Regards
Dalai
If you want to filter the current view - i.e. show only files matching the filter - use Ctrl+S. If you want to select files/dirs without hiding any files, use SELECTFILES <pattern> or cm_SelectBoth, or use the search function - choose what's the most appropriate for the current task.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Don't type the stars !sexy69 wrote:Ctrl+S
type *2016*
Enter
TC performs -> cm_GoToParent
If you just type 2016 after the CTRL-S it will exactly showing your 2 wanted entries.
If this doesn't happen then you are not using TC or a version of it we don't know.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77
QAP 11.6.3.3 x64
Image: http://home.arcor.de/guciu/test2.jpg
When I type -> 2, everything disappears from the window
Administrator^ - Total Commander (x64) 9.0ß9
When I type -> 2, everything disappears from the window
Administrator^ - Total Commander (x64) 9.0ß9