This is an old revision of the document!
keepuptodate
Watches for changes in local directory and reflects them on remote one.
keepuptodate [ <local directory> [ <remote directory> ] ]
Advertisement
When directories are not specified, current working directories are synchronized. To stop watching for changes press Ctrl-C
.
Note: Overwrite confirmations are always off for the command.
Switches:
Switch | Description |
---|---|
-delete |
Delete obsolete files |
-permissions=<mode> |
Set permissions (SFTP and SCP protocols only) |
-nopermissions |
Keep default permissions |
-speed=<kibps> |
Limit transfer speed |
-transfer=<mode> |
binary|ascii|automatic Transfer mode: binary, ascii (text), automatic (by extension). This feature is available only in the latest beta release. |
-filemask=<mask> |
<mask>[;<mask2>...] Sets file mask. This feature is available only in the latest beta release. |
Effective options: transfer
(deprecated), exclude
(deprecated), include
(deprecated), reconnecttime
XML log elements: upload
, touch
, chmod
(with -permissions
), rm
(with -delete
)
Examples
keepuptodate -delete keepuptodate d:\www /home/martin/public_html keepuptodate -filemask="|*.bak; *.tmp"
Advertisement