Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

tree exclude certain directory

Bug Killer answered on February 21, 2023 Popularity 8/10 Helpfulness 10/10

Contents


More Related Answers

  • exclude node_modules from tree command
  • tree command exclude
  • tree command but folders only
  • tar exclude directory
  • tar exclude multiple directories
  • cmd dir all files subfolders
  • tar exclude directory
  • Git: how to exclude a subfolder in a repository?
  • tar exclude directories from a File
  • find exclude directories
  • grep exclude multi dirs
  • tar exclude directories from a File
  • find exclude directories
  • git exclude nested folder
  • ignore all folder inside node_modules except one
  • tree exclude multiple files
  • rclone directory tree
  • Everything Exclude Dir From Search
  • du include hidden directories

  • tree exclude certain directory

    5

    tree -I node_modules

    # Or if you want to exclude many

    tree -I 'node_modules|cache|test_*'


    https://zaiste.net/posts/tree-ignore-directories-patterns/

    Popularity 8/10 Helpfulness 10/10 Language shell
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Bug Killer
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.