LINUX: stat command has different parameters
braaam opened this issue · comments
braaam commented
Got the following error: OSError: stat: invalid option -- '%'
Stat command on linux works with following syntax:
stat -c %B
Other than that it's a great little script - just what i needed.
Andrew Ning commented
Thanks. Hadn't tested on Linux. Hopefully it works otherwise.