Displaying 2 results from an estimated 2 matches for "rlptzu".
Did you mean:
rlptpzu
2002 Oct 03
0
more on selective deletion
...directory is empty on the master site, then they (and their
content) should be deleted on the mirror.
The definition of the module in the rsyncd config file on the master
has the line
exclude=- *.log - .htaccess - /Files + /**/ - *
The rsync invocation on the mirror to pull the update is
rsync -rlptzu --delete --include='*/' --exclude='*' origin destination
With this locally created files are left intact
Directories created on the master are propagated
Files created on the master are not propagated
Files created locally are not deleted
Directories emptied and deleted on the mast...
2002 Oct 03
0
more questions Re: deleting (empty) directories
...essage like
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
It works, but the message is unelegant. Is there a proper way of
stopping a daemon ?
3) selective delete ?
I am now testing a way to keep in synch two nearly mirrored sites.
I planned to run with rsync -rlptzu --delete source destination
The source is a module defined in a configuration file. This contains
an exclude directive like this :
exclude=/Local/* /.htaccess /Query/Private /Query/Admin/*
what I want to achieve is three-fold :
a) my .htaccess file, my "Private" soft-li...