This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why predefined 'selection type template' not work?

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
gawker
Junior Member
Junior Member


Joined: 09 Apr 2018
Posts: 9

PostPosted: Tue Apr 10, 2018 12:04 am    Post subject: Why predefined 'selection type template' not work? Reply with quote

In Show menu > Custom...
    define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.


But when i custom a selection template:
    define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.
Back to top
View user's profile Send private message
nsp
Power Member
Power Member


Joined: 04 Dec 2005
Posts: 1169
Location: Lyon (FRANCE)

PostPosted: Tue Apr 10, 2018 8:47 am    Post subject: Re: Why predefined 'selection type template' not work? Reply with quote

gawker wrote:
In Show menu > Custom...
    define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.


But when i custom a selection template:
    define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.

I personally did no find any way to hide folder using file type, my workarounds are:

A) use a ignore list and the command cm_SwitchIgnoreList to enable/disable

B) () define a em_filter with CD as command and %A as parameter,
em_nofilter as CD *.*
you can use it from any button,alias, shortkey... adding as paramater your filter as you which like
Code:
 em_filter *.*|.git\ .gitignore .gitattributes
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
gawker
Junior Member
Junior Member


Joined: 09 Apr 2018
Posts: 9

PostPosted: Wed Apr 11, 2018 12:16 am    Post subject: Reply with quote

Thanks for your fruitful reply, it helps me a lot : ))
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group