Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A quick Google search did not clear up my issue. I need to hide a directory on Centos 6. I want to do that because I'm running the command tree to print the tree directory structure, but I don't want see a particular directory in my tree.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Tree can be told to ignore a folder like so

tree -I FOLDERNAME
share|improve this answer
1  
You can also use wildcards here e.g. ./tmp/ –  KJ4IPS Aug 29 '13 at 16:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.