How to hide a directory and its contents on CentOS when running “tree?”When running bat files, how to...

How to have a sharp product image?

A ​Note ​on ​N!

acheter à, to mean both "from" and "for"?

Apply MapThread to all but one variable

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

Can someone publish a story that happened to you?

How to display Aura JS Errors Lightning Out

Is there really no use for MD5 anymore?

Phrase for the opposite of "foolproof"

How to write a column outside the braces in a matrix?

Was there a Viking Exchange as well as a Columbian one?

On The Origin of Dissonant Chords

Converting a sprinkler system's 24V AC outputs to 3.3V DC logic inputs

Mistake in years of experience in resume?

Extension of 2-adic valuation to the real numbers

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

What are the characteristics of a typeless programming language?

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

A strange hotel

Don’t seats that recline flat defeat the purpose of having seatbelts?

Re-entry to Germany after vacation using blue card

How can I practically buy stocks?

How to pronounce 'c++' in Spanish

Pre-plastic human skin alternative



How to hide a directory and its contents on CentOS when running “tree?”


When running bat files, how to show commands but not “rem”ed out lines?Hide command prompt containing open process without killing the processHow to print dir tree of a 7zip archive?Screen stays on when laptop lid shut, running centos 6.3hide GUI that briefly spawns when running a process from the command lineWindows “tree” command sorts randomlyHide cmd.exe Process When Running Batch ScriptHow can I create a tree structure in comand line that ONLY display the folders of that directoryHow can I regain access to a directory tree I have removed in Windows 10?Trying to exclude a specific directory from a grep command






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I need to hide a directory on CentOS 6 when using tree. I want to do that because I'm running the tree command to print the tree directory structure, but I don't want see a particular directory in my tree.










share|improve this question































    0















    I need to hide a directory on CentOS 6 when using tree. I want to do that because I'm running the tree command to print the tree directory structure, but I don't want see a particular directory in my tree.










    share|improve this question



























      0












      0








      0








      I need to hide a directory on CentOS 6 when using tree. I want to do that because I'm running the tree command to print the tree directory structure, but I don't want see a particular directory in my tree.










      share|improve this question
















      I need to hide a directory on CentOS 6 when using tree. I want to do that because I'm running the tree command to print the tree directory structure, but I don't want see a particular directory in my tree.







      command-line centos-6 tree






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      JakeGould

      33k10101143




      33k10101143










      asked Aug 29 '13 at 14:58









      Emilio GortEmilio Gort

      1035




      1035






















          1 Answer
          1






          active

          oldest

          votes


















          1














          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








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f638259%2fhow-to-hide-a-directory-and-its-contents-on-centos-when-running-tree%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          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
















          1














          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














          1












          1








          1







          Tree can be told to ignore a folder like so



          tree -I FOLDERNAME





          share|improve this answer













          Tree can be told to ignore a folder like so



          tree -I FOLDERNAME






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 29 '13 at 16:05









          KJ4IPSKJ4IPS

          731510




          731510








          • 1





            You can also use wildcards here e.g. ./tmp/

            – KJ4IPS
            Aug 29 '13 at 16:06














          • 1





            You can also use wildcards here e.g. ./tmp/

            – KJ4IPS
            Aug 29 '13 at 16:06








          1




          1





          You can also use wildcards here e.g. ./tmp/

          – KJ4IPS
          Aug 29 '13 at 16:06





          You can also use wildcards here e.g. ./tmp/

          – KJ4IPS
          Aug 29 '13 at 16:06


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f638259%2fhow-to-hide-a-directory-and-its-contents-on-centos-when-running-tree%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...