From 5c7597391948bd122d8472b95d1b456e08786131 Mon Sep 17 00:00:00 2001 From: wolfv6 Date: Sat, 16 May 2020 21:48:00 -0600 Subject: [PATCH] fix issue #13 folders/files with spaces --- rclone_jobber.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rclone_jobber.sh b/rclone_jobber.sh index 5eeca7b..4042572 100755 --- a/rclone_jobber.sh +++ b/rclone_jobber.sh @@ -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. @@ -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