diff options
| author | Steph Enders <steph@senders.io> | 2025-12-14 23:21:44 -0500 |
|---|---|---|
| committer | Steph Enders <steph@senders.io> | 2025-12-14 23:23:54 -0500 |
| commit | 6101cdd2d70a4bb3e9c529ef484ddccbb48b8fd1 (patch) | |
| tree | 831c8193a5fd8c1b6cb08c2bf62e366eda9ad516 /ssync-queue | |
| parent | 230bb634388c41426e2cd32ba411188b38ddcb5b (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
Diffstat (limited to 'ssync-queue')
| -rwxr-xr-x | ssync-queue | 2 |
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" |