diff options
Diffstat (limited to 'vendor/walkdir/compare/walk.py')
-rw-r--r-- | vendor/walkdir/compare/walk.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/walkdir/compare/walk.py b/vendor/walkdir/compare/walk.py new file mode 100644 index 0000000..303d323 --- /dev/null +++ b/vendor/walkdir/compare/walk.py @@ -0,0 +1,10 @@ +from __future__ import absolute_import, division, print_function + +import os +import sys + +for dirpath, dirnames, filenames in os.walk(sys.argv[1]): + for n in dirnames: + print(os.path.join(dirpath, n)) + for n in filenames: + print(os.path.join(dirpath, n)) |