about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-08-02 23:02:50 -0500
committerCase Duckworth2022-08-02 23:02:50 -0500
commit192450706243594381efdd83b95e274ca470dff7 (patch)
treee96be75a0b0371e52f12d3b4f38f1da0190b87ee
parentShellcheck (diff)
downloadshatom-192450706243594381efdd83b95e274ca470dff7.tar.gz
shatom-192450706243594381efdd83b95e274ca470dff7.zip
Find files recursively by default
-rwxr-xr-xshatom2
1 files changed, 1 insertions, 1 deletions
diff --git a/shatom b/shatom index 7b149a9..31b2fc6 100755 --- a/shatom +++ b/shatom
@@ -88,7 +88,7 @@ recent_files() {
88 dir="$1" 88 dir="$1"
89 shift 89 shift
90 90
91 find "$dir"/* -prune "$@" \ 91 find "$dir" "$@" \
92 -exec stat -c '%Y %N' '{}' + | 92 -exec stat -c '%Y %N' '{}' + |
93 sort -k1,1 -nr | 93 sort -k1,1 -nr |
94 cut -d' ' -f2- 94 cut -d' ' -f2-