search for: vptgo

Displaying 1 result from an estimated 1 matches for "vptgo".

2004 Nov 07
2
Flag file management techniques using rsync
...rs when it is not present) and ideally avoiding the need for a specialised sub directory for each flag file. For example to see if the remote host is otherwise occupied (i.e.. in the middle of building the import data files) 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 fi...