last file modified
# ls -lrt * |tail -l
-rw-r--r-- 1 root root 2060 2013-01-18 02:09 pre-lock.tmpl
-rwxr-xr-- 1 root root 2764 2013-01-18 02:09 pre-revprop-change
-rw-r--r-- 1 root root 2764 2013-01-18 02:09 pre-revprop-change.tmpl
-rw-r--r-- 1 root root 2001 2013-01-18 02:09 pre-unlock.tmpl
-rw-r--r-- 1 root root 2137 2013-01-18 02:09 start-commit.tmpl
locks:
total 8
-rw-r--r-- 1 root root 139 2013-01-18 02:09 db-logs.lock
-rw-r--r-- 1 root root 139 2013-01-18 02:09 db.lock
guess what i'm looking at.
this is a recursive search using stat
# find $1 -type d -print0 | xargs -0 stat --format '%Y :%y %n' | sort -nr | cut -d: -f2- | head
Monday, August 24, 2015
last file modified
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment