DO NOT REPLY [Bug 5601] New: extend --keep-dirlinks to files also
samba-bugs at samba.org
samba-bugs at samba.org
Wed Jul 9 11:52:25 GMT 2008
https://bugzilla.samba.org/show_bug.cgi?id=5601
Summary: extend --keep-dirlinks to files also
Product: rsync
Version: 3.0.2
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: hendrik.maryns at uni-tuebingen.de
QAContact: rsync-qa at samba.org
As described in the thread
news://news.gmane.org:119/g4sscf$ha0$1@ger.gmane.org, Iâd like an option
similor to --keep-dirlinks for files also.
>From my original post there:
I just read the thread
http://lists.samba.org/archive/rsync/2004-June/009678.html which describes how
--keep-dirlinks came to be. My use case is similar, but Iâd like a similar
option for files as well.
Setup: in my public_html I have some symlinks which I send over as files, with
-L (for various reasons: partly, because they are copies of current work which
is done elsewhere, or because several websites use the same files, such as SSI
footers). However, I also want to check whether my colleague changed the files
on the server, so first I do an update. However, this replaces the links with
the files themselves.
My current usage is:
# First look whether stuff changed on the other side (shouldnât)
# rsync -rtKPuzb webserver:public_html/ /home/hendrik/public_html/Hendrik/
# Then put changes from here.
rsync -rtkKLPzC --delete --delete-excluded
--exclude-from=/home/hendrik/.website-exclude
/home/hendrik/public_html/Hendrik/ webserver:public_html
As you can see, I have the first line commented out, because it replaces
symlinks. Iâd like something similar to --keep-dirlinks which follows links
on the receiver and compares the files linked to with those sent.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list