Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find . -name "someFile" -exec ls -alF {} ;
- ls -alFt `find . -name "somefile"`
- ls -alFt `find . -name "bla.txt"` | rev | cut -d" " -f1 | rev | head -1
- find . -name "someFile" -exec stat -c '%n:%Y' {} + | sort -t : -k2 | cut -d : -f1
- while IFS=: read -r f t; do
- echo "$f <$(date -d @$t)>"
- done < <(find . -name "someFile" -exec stat -c '%N:%Y' '{}' + | sort -t : -k2)
- find . -name "someFile"-printf "%p:%T@n" | sort -t : -k2
- find . -name someFile* -type f -exec stat -c "%W %n" -- {} ; | sort -nr | head -n20
- find . -name someFile* -type f -exec stat -c "%W %n" -- {} ; | sort -n | head -n20
- %w time of file birth, human-readable; - if unknown
- %W time of file birth, seconds since Epoch; 0 if unknown
- %x time of last access, human-readable
- %X time of last access, seconds since Epoch
- %y time of last modification, human-readable
- %Y time of last modification, seconds since Epoch
- %z time of last change, human-readable
- %Z time of last change, seconds since Epoch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement