Is it possible to get the modification date and time of a folder?
I know you can use stat -f "%m" folder
, but it doesn't reflect sub-files/folders changes.
Things that doesn't work:
ls -l folder
- doesn't reflect changes inside the folderstat -f "%m" folder
- same as abovedate -r folder
- same againfind foo bar baz -printf
- theprintf
option doesn't exist on my version of find
Versions of things:
- OS: Mac OS X 10.7.1
- Bash: GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)