aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2025-12-14 23:21:44 -0500
committerSteph Enders <steph@senders.io>2025-12-14 23:23:54 -0500
commit6101cdd2d70a4bb3e9c529ef484ddccbb48b8fd1 (patch)
tree831c8193a5fd8c1b6cb08c2bf62e366eda9ad516
parent230bb634388c41426e2cd32ba411188b38ddcb5b (diff)
Restrit the queue grep to just plaintext
Hit a bug where a filename had what was considered valid regex and I don't know the best way right now to represent it as I would want while still regex. So simplified
-rw-r--r--VERSION2
-rwxr-xr-xssync-queue2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 738ab53..bfd5c6f 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-"December 2025" "2.1.4" \ No newline at end of file
+"December 2025" "2.1.5" \ No newline at end of file
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"