diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 22:21:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-02 22:21:23 -0300 |
commit | 41dff3b7ab2deb5d2ab781640261a5fdbee6953d (patch) | |
tree | 58acd2c54f6435bd260e6d4a34e82b59a4ed4878 /show | |
parent | e505ba7a18d453b2918b842003824d6f1b317380 (diff) | |
download | scripts-41dff3b7ab2deb5d2ab781640261a5fdbee6953d.tar.gz scripts-41dff3b7ab2deb5d2ab781640261a5fdbee6953d.tar.bz2 |
Fix: show: .git folder exclusion
Diffstat (limited to 'show')
-rwxr-xr-x | show | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ BIBLIO="$DOCS/bibliographies" FILELIST=".filelist" LIST="$DOCS/$FILELIST" DOC_PATTERN=".*\.(txt|doc|docx|rtf|pdf|sxc|csv|odt|odf|ods|xls|xlsx|ppt|epub|mobi|djvu|lit)" -FIND_OPTS="-not -path '*.git*' -regextype posix-egrep -iregex" +FIND_OPTS="-regextype posix-egrep -iregex" ARG="$1" EXTRA_ARG="$2" DATE="`date +%s`" @@ -27,7 +27,7 @@ function __update_filelist { fi # Refresh - cd $DOCS && find . $FIND_OPTS "$DOC_PATTERN" > $LIST + cd $DOCS && find . -not -path '*.git*' $FIND_OPTS "$DOC_PATTERN" > $LIST # Stage git add $LIST |