Add inodes.py.
This commit is contained in:
parent
fc779d6db4
commit
78fd68cdbd
1 changed files with 12 additions and 0 deletions
12
inodes.py
Normal file
12
inodes.py
Normal 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:]))
|
Loading…
Reference in a new issue