Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % find . -type f -print0 | xargs -0 -I{} file --mime-type {}
- ./foo
- bar.png: image/png
- ./OWoHp.png: image/png
- ./J7ZwV.png: image/png
- ./foo.txt: inode/x-empty
- ./bar: inode/x-empty
- ./hUXnc.png: image/png
- % ls foo$'n'bar.png
- foo?bar.png
- % find . -type f -print0 | xargs -0 -I{} file --mime-type {} | awk -F$"