Skip to content

Commit

Permalink
fix issue #13 folders/files with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv6 committed May 17, 2020
1 parent 8c01b94 commit 5c75973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclone_jobber.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# rclone_jobber.sh version 1.5.4
# rclone_jobber.sh version 1.5.5
# Tutorial, backup-job examples, and source code at https://github.com/wolfv6/rclone_jobber
# Logging options are headed by "# set log". Details are in the tutorial's "Logging options" section.

Expand Down Expand Up @@ -79,7 +79,7 @@ if [ -z "$dest" ]; then
fi

# if source is empty
if ! test "$(rclone lsf --max-depth 1 $source)"; then # rclone lsf requires rclone 1.40 or later
if ! test "rclone lsf --max-depth 1 $source"; then # rclone lsf requires rclone 1.40 or later
print_message "ERROR" "aborted because source is empty."
exit 1
fi
Expand Down

0 comments on commit 5c75973

Please sign in to comment.