diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-01-18 14:09:48 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-01-18 14:09:48 -0200 |
commit | a255a64c2847e13e3bf221c67bbc2337133361c2 (patch) | |
tree | 0184e367e408b38c2588a448e6f6ac9b9fd41cf8 | |
parent | 23ea5f38f2232e77d22b57be096b1281df90d29f (diff) | |
download | scripts-a255a64c2847e13e3bf221c67bbc2337133361c2.tar.gz scripts-a255a64c2847e13e3bf221c67bbc2337133361c2.tar.bz2 |
Max depth of 1 for dangling-archive
-rwxr-xr-x | dangling-archive | 2 |
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 |