Anonymous user
Talk:Walk a directory/Recursively: Difference between revisions
Talk:Walk a directory/Recursively (view source)
Revision as of 20:20, 16 October 2007
, 16 years agono edit summary
No edit summary |
No edit summary |
||
Line 4:
Walk a given directory tree and print files matching a given pattern.
:: My suggestion:
'''Walk a given directory tree, calling a function for every filename which matches
a given wildcard, UNIX [[glob]], or [[regex]] pattern (whichever is easiest for the given language).'''
: Question: would we want to create a small set of more complex tree walking tasks which ask how one would do things like: follow (or refrain from following) symbolic links, refrain from crossing UNIX/Linux mount points, select files based on their ''stat()'' criteria (such as link count, dates, ownership, group association, permissions, etc) or on their contents?
|