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=""
|
PREVDIR=""
|
||||||
PREVNAME=""
|
PREVNAME=""
|
||||||
find ~/quar \
|
find ~/quar \
|
||||||
|
-maxdepth 1 \
|
||||||
-type f \
|
-type f \
|
||||||
-not -path '*/trash/*' \
|
-not -path '*/trash/*' \
|
||||||
\( \
|
\( \
|
||||||
|
Loading…
Reference in New Issue
Block a user