You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
462 B
Bash

1 year ago
# -l: follow symbolic links
# -f: print full path
# --info: frint file comments found in .info files
# --filelimit to make sure no recursive things happening
# -o output to tree.json
# -p print file type and permissions
# -g: print group nae
# -s print the size
# -D: print last mod date
# -u: print username?
# -h: size in a human readable way
tree -l -f --info --filelimit=500 -p -u -D -s -J -o tree.json
# OR exiftool
exiftool -json -r . > exiftool.json