aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdangling-archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/dangling-archive b/dangling-archive
index babe4d6..dfb9c05 100755
--- a/dangling-archive
+++ b/dangling-archive
@@ -10,7 +10,7 @@ IMAGES="$HOME/data/images/incoming"
IMAGES_PATTERN=".*\.(png|jpg|jpeg|gif|svg)"
DOC="$HOME/data/doc/incoming"
DOC_PATTERN=".*\.(txt|doc|docx|rtf|pdf|sxc|csv|epub|mobi|djvu)"
-FIND_OPTS="-regextype posix-egrep -iregex"
+FIND_OPTS="-maxdepth 1 -regextype posix-egrep -iregex"
# Ensure all folders exist
mkdir -p $LOAD $IMAGES $DOC