repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some updates
[cmdllinux.git]
/
scripts
/
_findtime_date.sh
blob
45630a1f81f4e462b45d56f616c914ba14f5382a
1
#! /bin/sh
2
3
[
"
$1
"
=
"-n"
] &&
maxdepth
=
"-maxdepth 1"
4
#find -mindepth 1 $maxdepth -printf "%Tx %p\n" | sort -n -r -t / -k 3 -k 1 -k 2
5
find
-mindepth
1
$maxdepth
-printf
"%Ty%Tm%Td %p
\n
"
|
sort
-n -r