Displaying 1 result from an estimated 1 matches for "rvptgo".
Did you mean:
vptgo
2004 Nov 07
2
Flag file management techniques using rsync
...iles) I was expecting this might
work for a "pull" action...
rsync -vptgo rmtusr@rmthost.net:/somepath/file1.flg file1.flg
while [ -f file1.flg ]
do
sleep 30
rsync -vptgo --delete rmtusr@rmthost.net:/somepath/file1.flg file1.flg
done
# Now safe to transfer the data
rsync -rvptgo rmtusr@rmthost.net:/somepath/export import/
... then I want to drop a flag file on the remote host before a "push" rsync
starts and then remove it on completion. eg.
touch file2.flg
rsync -vptgo file2.flg rmtusr@rmthost.net:/somepath/file2.flg
rsync -rvptgo export/ rmtusr@rmthost.net...