#!/bin/csh -f #scp $*:q rsync -v --progress -i -l --rsh=ssh $*:q # Note: Do NOT add -t # It would cause the timestamp of the server file to match the # timestamp of the local file, rather than the time of the copy # operation. That might cause the Web server to not send the # file when requested by a browser, if the browser's cached copy # is newer than the timestamp of the local file, which is very # possible. # Options: # -vv = Show names of skipped files. -v or default would show only copied files # Also echo line like: # opening connection using ssh -l fred bristle.com rsync --server -vvu # . /var/www/html/Pictures/Stluka/Chris/Funeral # --progress = Seems to have no effect. Implied by -vv? # -i = Seems to have no effect. Implied by -vv? # -l = Copy symlinks also (as symlinks) # -t = Preserve times (not by default since it reports errors for symlinks) # (also see note about -t above) # --rsh=ssh = Use ssh for copy (default?) # --del = Delete files from destination if missing from source