sorter.sh: add maxdepth to find
this prevents it from accessing random mountpoints
This commit is contained in:
parent
9bb52d016d
commit
d3a2f84a39
@ -33,6 +33,7 @@ confirm() {
|
||||
PREVDIR=""
|
||||
PREVNAME=""
|
||||
find ~/quar \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
-not -path '*/trash/*' \
|
||||
\( \
|
||||
|
Loading…
Reference in New Issue
Block a user