Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to create a mirror, so i copied some stuff via a high-speed connection and transfered it home. I typed the command "rsync -rtlv ......." in order to fill in the "blanks"- the missing files ( i hadn't downloaded anything i needed) using my 384 adsl. However, i think that at the present time rsync isn't filling the "blanks" only, but is also replacing stuff.
How can i find out if this is true?
How can i stop it this from happening? - I thought that the main characteristic of rsync was, that it also files that have changed, deletes old ones, download new ones, after comparing some file lists.
Thanks
Last edited by kpachopoulos; 07-15-2005 at 03:29 PM.
Another question:
I rsync to a folder containing only rpms:
---------------------
FreeWnn-1.10pl020-6.fc4.i386.rpm
FreeWnn-devel-1.10pl020-6.fc4.i386.rpm
FreeWnn-libs-1.10pl020-6.fc4.i386.rpm
GiNaC-1.3.1-6.fc4.i386.rpm
...rpms
---------------------
However in my local folder the following 3 folders are added:
---------------------
debug
repodata
headers
FreeWnn-1.10pl020-6.fc4.i386.rpm
FreeWnn-devel-1.10pl020-6.fc4.i386.rpm
FreeWnn-libs-1.10pl020-6.fc4.i386.rpm
GiNaC-1.3.1-6.fc4.i386.rpm
...rpms
---------------------
I don't think that something like this has happened in other occasions. Is this something, that the admin has programed? Is this the default behavior of the rsync?
What caused it anyway?
Thanks
Last edited by kpachopoulos; 07-15-2005 at 03:29 PM.
The directories existed at some point, so rsync copied them. Unless you use one of the delete options (like "--delete-after" in my example), files and directories will accumulate - they will never be deleted, even if they are deleted from the source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.