Hello raf,
thank you for your advice. I try it this way now:
# get all files remote
$SSH "cd /srv/$PROJECT/shared/uploads/; find -type f ! -path './tmp/*' !
-name '*pdf_before_qpdf'" > "$ALL_REMOTE_FILES"
# remove exclude entries
comm -23 "$ALL_REMOTE_FILES" "$EXCLUDE_FILE1" >
I was about to run a sync command chain I often run, and
(of course with dry run selected)
chose to remove the double dash to some of the rsync call
arguments.
Just some quick random weird human input testing.
So issued -no-owner instead of --no-owner. Complained, obviously.
Also issued -times