I'd like to know how to list all folders including the subfolders in, say an external hard drive, with its last modified timestamp(accurate to seconds) in terminal?
I know we can use "ls -lT" to list the timestamp in a certain directory (with files, although I don't need), but I want it to include all the sub-directories as well, with or without the files attributes included.
I also find this command "find . -type d | sed -e "s/[^-][^/]*// |/g" -e "s/|([^ ])/|-\1/"" could show a directory tree. My wish is to have last modified time stamp besides it.
Thanks guys! Sincerely,