coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `readlink -f` and trailing slash


From: Bernhard Voelker
Subject: Re: `readlink -f` and trailing slash
Date: Wed, 29 Aug 2012 08:15:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 08/29/2012 01:23 AM, Todd Partridge wrote:
> Using a trailing slash with rsync
> for the source directory would copy the contents of the directory,
> without it the directory itself is copied.

This is not the answer for your readlink question,
but may help you nontheless.

That behaviour of rsync has always confused me.
To be 100% sure what rsync does, I've got into the way
of appending a "/." to both the source and the target
directory for rsync:

  $ rsync -avx libtool/. /to/some/where/.

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]