Node:Adding an excluded synch path, Next:Removing an excluded synch path, Up:Excluding Synch Paths
To exclude a file or directory from being synchronized by
WebPublish, you must add a record to the synch
database file.
To add a new record to the synch
database file, you must
specify the file or directory path using the -path (-P
)
DATA option.
The following example will prevent WebPublish from synchronizing
the directory cgi-bin
when WebPublish is synchronizing the
personal
account.
webpublish --add -F synch -a personal -P cgi-bin
The excluded path is only valid for the
specific account. When a website is published to more than one
server, each account that is used to synchronize the website must
have a record for the excluded path in the synch
database file.
NOTE: The records in the synch
database file cannot be changed.
If you need to change a record in the synch
database file, add
a new record with the new information. Then you can remove the
old record with the old information.