hidden file detection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lenny G.

    #1

    hidden file detection

    What's the best way to do cross-platform hidden file detection? I want
    to do something like weed-out the files that should be 'hidden' from
    os.listdir() (which would be files that start with '.' under Unix,
    files that have the hidden attribute set on windows, and whatever it is
    that makes Mac files hidden). Is there a util or lib that does this
    for me?

    Thanks,
    Gary

  • Fabian Steiner

    #2
    Re: hidden file detection

    Lenny G. wrote:[color=blue]
    > What's the best way to do cross-platform hidden file detection? I want
    > to do something like weed-out the files that should be 'hidden' from
    > os.listdir() (which would be files that start with '.' under Unix,
    > files that have the hidden attribute set on windows, and whatever it is
    > that makes Mac files hidden). Is there a util or lib that does this
    > for me?
    >
    > Thanks,
    > Gary
    >[/color]

    Comment

    Working...