diff options
author | Case Duckworth | 2022-08-02 23:02:50 -0500 |
---|---|---|
committer | Case Duckworth | 2022-08-02 23:02:50 -0500 |
commit | 192450706243594381efdd83b95e274ca470dff7 (patch) | |
tree | e96be75a0b0371e52f12d3b4f38f1da0190b87ee | |
parent | Shellcheck (diff) | |
download | shatom-192450706243594381efdd83b95e274ca470dff7.tar.gz shatom-192450706243594381efdd83b95e274ca470dff7.zip |
Find files recursively by default
-rwxr-xr-x | shatom | 2 |
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- |