Preserve/exclude specific directories from removal? #3242
                  
                    
                      niksfirefly
                    
                  
                
                  started this conversation in
                3. Ideas
              
            Replies: 1 comment
-
| 
         Use shell command with safe-rm.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder is it possible to
Preserve/exclude specific directories from removal?
I like to use fast and easy
remove --permanently --forcewith yazi
but for sake of security option to exclude specific / dirs or ${HOME} dirs could be fantastic
for example
remove --permanently --force --exclude:"/,/bin,/lib/${HOME/bin}"regards
Beta Was this translation helpful? Give feedback.
All reactions