Powered by WHUK®

Announcement

Collapse
No announcement yet.

**Tree** package doesn't list hidden files in Ubuntu

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • **Tree** package doesn't list hidden files in Ubuntu

    I'm using Tree package to list subfolders and files in a given directory. It works fine but it doesn't list hidden files.

    After run tree in a folder, it returns

    ├── MI
    │ └── MI.mkv
    ├── The Terminator
    │└── The Terminator.mkv
    └── Ghost Rider
    ├── Ghost Rider.mkv
    └── Ghost Rider.srt

    However it have to return hidden files named .movie.png in each one of these folders.

    How to do it?

  • #2
    Did you read the man page?

    Comment


    • #3
      Yes. I read the man page

      Comment


      • #4
        you can search man pages by typing / and your search phrase

        Comment


        • #5
          Also gvfs stuff are installed in lots of systems, you can use them as well:

          gvfs-tree -h

          Comment


          • #6
            Use tree -a

            $ man tree
            -a All files are printed. By default tree does not display hidden files.
            (those beginning with a dot ".").
            In no event does tree print the file system builds
            "." for current directory and ".." for previous directory.

            Comment

            Working...
            X