From: Nicolas Boisselier Date: Wed, 18 Mar 2015 23:54:53 +0000 (+0100) Subject: find-sort-mtime X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=975aec48a37c4bfa2e53f05e96b46b3ab516eac6;p=nb.git find-sort-mtime --- diff --git a/etc/bashrc.function b/etc/bashrc.function index 7ccfa4ae..969f04d7 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -239,7 +239,7 @@ ls-tree() { } find-sort-mtime() { - find $@ -type f -printf "%As\t%p\n" | sort -k1 -r|cut -f2 + find $@ -type f -printf "%Tk\t%p\n" | sort -k1 -nr|cut -f2 } nb-alert() {