From d3a2f84a39e3f04905885b91acdac91a02d7aef2 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 5 Mar 2023 12:13:43 -0500 Subject: [PATCH] sorter.sh: add maxdepth to find this prevents it from accessing random mountpoints --- src/.local/bin/sorter.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.local/bin/sorter.sh b/src/.local/bin/sorter.sh index 6286040..a710330 100755 --- a/src/.local/bin/sorter.sh +++ b/src/.local/bin/sorter.sh @@ -33,6 +33,7 @@ confirm() { PREVDIR="" PREVNAME="" find ~/quar \ + -maxdepth 1 \ -type f \ -not -path '*/trash/*' \ \( \