Skip to content

Commit 62bb50d

Browse files
authored
Update dupe.sh - fix exclude dirs
1 parent 28a38cc commit 62bb50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dupe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ find_duplicates() {
4343
results=$("$JDUPES_COMMAND" "$JDUPES_EXCLUDE_DIRS" -X onlyext:"$JDUPES_INCLUDE_EXT" -r -M -y "$JDUPES_HASH_DB" "$JDUPES_SOURCE_DIR" "$JDUPES_DESTINATION_DIR")
4444

4545
if [[ $results != *"No duplicates found."* ]]; then
46-
"$JDUPES_COMMAND" "$JDUPES_EXCLUDE_DIRS" -X onlyext:"$JDUPES_INCLUDE_EXT" -r -L -y "$JDUPES_HASH_DB" "$JDUPES_SOURCE_DIR" "$JDUPES_DESTINATION_DIR" >>"$log_file"
46+
"$JDUPES_COMMAND" $JDUPES_EXCLUDE_DIRS -X onlyext:"$JDUPES_INCLUDE_EXT" -r -L -y "$JDUPES_HASH_DB" "$JDUPES_SOURCE_DIR" "$JDUPES_DESTINATION_DIR" >>"$log_file"
4747
fi
4848

4949
if [ "$DEBUG" == "true" ]; then

0 commit comments

Comments
 (0)