I'm not really blaming the user. If it were up to me, -v would include -i.
On 2/9/24 05:36, Andreas Gruenbacher wrote:
On Sun, Feb 4, 2024 at 7:20 PM Kevin Korb via rsync
wrote:
rsync's -v is fairly useless. Learn to use -i instead or in addition to.
Well, note that I didn't say anything
On Sun, Feb 4, 2024 at 7:20 PM Kevin Korb via rsync
wrote:
> rsync's -v is fairly useless. Learn to use -i instead or in addition to.
Well, note that I didn't say anything about the lib/ directory in that
command; it's just that rsync decided to remove the symlink component
from the path
rsync's -v is fairly useless. Learn to use -i instead or in addition to.
On 2/4/24 12:58, Andreas Gruenbacher via rsync wrote:
Hello,
when trying to rsync files between hosts, I ran into a surprising case
in which rsync replaces a symlink with a directory, with no indication
of any kind.
In
Hello,
when trying to rsync files between hosts, I ran into a surprising case
in which rsync replaces a symlink with a directory, with no indication
of any kind.
In the following reproducer, rsync is called as follows:
rsync --verbose --recursive --relative --delete a/./lib/modules b/
https://bugzilla.samba.org/show_bug.cgi?id=10629
--- Comment #2 from Kevin Korb ---
Since find is one of the few utilities that actually corrects for symlink loops
you can use it as a workaround. Something like:
cd /source/path ; find -L . -print | rsync ... --copy-links --files-from=- ./
https://bugzilla.samba.org/show_bug.cgi?id=10629
Timothee Besset changed:
What|Removed |Added
CC||tt...@ttimo.net
--- Comment #1 from
https://bugzilla.samba.org/show_bug.cgi?id=5820
Wayne Davison changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
This post
http://unix.stackexchange.com/questions/153262/get-rsync-to-dereference-symlinked-dirs-presented-on-cmdline-like-find-h
explains most of what i want, but basically, looking for a find -H option to
rsync.
Reason is so that I can hit a source (or target!) dir in rsync by making a nice
https://bugzilla.samba.org/show_bug.cgi?id=10629
Summary: rsync follows symlinks that point to same directory /
endless loop
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: Linux
Status: NEW
Hi, I have one question regarding handling of symlinks in rsync. If I have
/source directory in which I have 100s of sub directories of directories and
each one has symlink to some directories out side the /source directory
hierarchy. Does rsync follows all those symlinks and syncs the data if I
Jignesh Shah (jignesh.shah1...@gmail.com) wrote on 1 September 2009 11:30:
Hi, I have one question regarding handling of symlinks in rsync. If I have
/source directory in which I have 100s of sub directories of directories and
each one has symlink to some directories out side the /source
Thanks Carlos.
... rsync copy symlinks as symlinks
What about the contents pointed by simlinks?
Could you please also elaborate on Only if it's inside source.
Thanks,
Jignesh
On Tue, Sep 1, 2009 at 8:25 PM, Carlos Carvalho car...@fisica.ufpr.brwrote:
Jignesh Shah (jignesh.shah1
Jignesh Shah (jignesh.shah1...@gmail.com) wrote on 1 September 2009 22:17:
Thanks Carlos.
... rsync copy symlinks as symlinks
What about the contents pointed by simlinks?
If they exist on the destination at the same place the symlink will
point to them, otherwise they'll dangling
Hi,
I need an option to make rsync not replace a symlink on destination,
but for files.
Something like --keep-links.
Let's suppose I have this setup:
- source-dir/source-file
- destination-dir/destination-file (symlink to ../real-destination-file)
- real-destination-file
After doing an rync
2009/2/18 Laurent Raufaste analo...@glop.org:
Let's suppose I have this setup:
- source-dir/source-file
- destination-dir/destination-file (symlink to ../real-destination-file)
- real-destination-file
I forgot to tell that source-file and destination-file have the same name.
It would look
On 9/4/07, aaa aaa aaa aaa [EMAIL PROTECTED] wrote:
I keep local mirrors of slackware-current and slackware-12.0 for personal
use (Slackware Linux is one of the oldest Linux distributions). My big issue
is the lack of hdd free space. At the moment of the release the directory
trees are
$ cd /tmp
$ echo 123 aaa
$ echo 123 bbb
$ ln -s bbb ccc
$ ls -la
aaa
bbb
ccc - bbb
$ rsync aaa ccc
$ ls -la
aaa
bbb
ccc
This example shows that symlink ccc was replaced with a regular file,
which implies that during a remote sync the content of the aaa will be
downloaded. However, files aaa
.
If you explain more concretely what you were hoping to accomplish by
having rsync follow symlinks in the destination, I might be able to
suggest a better approach.
Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr
https://bugzilla.samba.org/show_bug.cgi?id=2913
--- Additional Comments From [EMAIL PROTECTED] 2005-07-31 03:38 ---
the patch applies clean to: cvs co -D '2005-07-07 22:53:59-'
which refers to the latest src rev in the patch [not knowing which
tag or date to apply to].
https://bugzilla.samba.org/show_bug.cgi?id=2913
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=2913
--- Additional Comments From [EMAIL PROTECTED] 2005-07-26 09:27 ---
Created an attachment (id=1336)
-- (https://bugzilla.samba.org/attachment.cgi?id=1336action=view)
Use lchmod and lutimes, if present
Please test this patch and see if
https://bugzilla.samba.org/show_bug.cgi?id=2913
Summary: rsync of symlinks on =bsd needs lutimes(2) and
lchmod(2)
Product: rsync
Version: 2.6.5
Platform: All
OS/Version: FreeBSD
Status: NEW
Severity
On Thu, Jun 03, 2004 at 01:24:30PM -0700, Wayne Davison wrote:
There is one possible option I thought of. A special-case that would
allow a symlink to a dir to remain untouched if the sending side was
sending us a dir.
I developed this option more fully and renamed it to be --keep-dirlinks.
Hi!
I am using rsync succesfully to maintain my mirrors.
I have one problem, tho.
To improve speeds of my filesystems, I have created a raid 0
of 4 disks, and I place the most heavily copied disks there.
The fs has subdirectories, one for each set of typically .iso files,
such as Mandrakelinux
On Thu, Jun 03, 2004 at 07:23:33PM +0200, Keld J?rn Simonsen wrote:
I would like to be able to just do a
symlink from the original tree to the directory on the raid,
Then you must either (1) tell rsync to expand all symlinks, (2) avoid
having rsync copy the non-matching symlink, (3) duplicate
On Thu, Jun 03, 2004 at 10:41:06AM -0700, Wayne Davison wrote:
On Thu, Jun 03, 2004 at 07:23:33PM +0200, Keld J?rn Simonsen wrote:
I would like to be able to just do a
symlink from the original tree to the directory on the raid,
Then you must either (1) tell rsync to expand all symlinks,
On Thu, Jun 03, 2004 at 08:54:24PM +0200, Keld J?rn Simonsen wrote:
Hmm, I want to keep the symlinks in the original tree. So I think there
is no way to have both: keeping the original symlinks and having my own
symlinks are mutually exclusive options.
Yes, and I apparently got your transfer
27 matches
Mail list logo