Add inodes.py.

This commit is contained in:
voussoir 2020-09-28 20:18:18 -07:00
parent fc779d6db4
commit 78fd68cdbd

12
inodes.py Normal file
View file

@ -0,0 +1,12 @@
import sys
from voussoirkit import pathclass
def main(argv):
for file in pathclass.cwd().listdir():
if not file.is_file:
continue
print(file.stat.st_dev, file.stat.st_ino, file.relative_path)
if __name__ == '__main__':
raise SystemExit(main(sys.argv[1:]))