aboutsummaryrefslogtreecommitdiff
path: root/ssync-queue
diff options
context:
space:
mode:
Diffstat (limited to 'ssync-queue')
-rwxr-xr-xssync-queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssync-queue b/ssync-queue
index 2063420..25fa1cd 100755
--- a/ssync-queue
+++ b/ssync-queue
@@ -100,6 +100,6 @@ comm -23 $remote_sorted $local_sorted > $remote_only_filenames_file
verbose_log "Found $(lines $remote_only_filenames_file) remote only files"
# push matching files into queue
-cat $remote_only_filenames_file | xargs -I{} grep "^.*{}$" $REMOTE_FILE_ARG >> $QUEUE_FILE_ARG
+cat $remote_only_filenames_file | xargs -I{} grep -F "{}" $REMOTE_FILE_ARG >> $QUEUE_FILE_ARG
verbose_log "Added $(lines $QUEUE_FILE_ARG) to the queue"