sorter.sh: add maxdepth to find

this prevents it from accessing random mountpoints
This commit is contained in:
dogeystamp 2023-03-05 12:13:43 -05:00
parent 9bb52d016d
commit d3a2f84a39

View File

@ -33,6 +33,7 @@ confirm() {
PREVDIR=""
PREVNAME=""
find ~/quar \
-maxdepth 1 \
-type f \
-not -path '*/trash/*' \
\( \