You are not logged in.
Pages: 1
I'm trying to figure out how to syncronize two folders the best way, what I want is this:
1/ Host is a web server, with directory listing
2/ Client is my computer, running Arch
3/ I want to compare the web server's files with the ones on my computer. For instance say that:
A.jpg, B.jpg, C.jpg, D.jpg is on the server and that:
A.jpg, B.jpg, C.jpg, E.jpg is on the local host, what I want to do is to have some software that downloads the missing files from the webserver, in other words the file D.jpg in this example, but keeps E.jpg which isn't on the server. Basically: download the files from the server that isn't on the client. What is the easiest way to do this?
We met up with the aliens and guess what? They have no word for fluffy!
Offline
rsync
Offline
rsync
Tried man rsync, and checked out google, but I cannot figure out how to use rsync for this. Could you explain?
We met up with the aliens and guess what? They have no word for fluffy!
Offline
rsync -vzra server:/path/to/root/ /path/to/local/
The trailing slashes are important. Also, try reading the manpage again; it's a very useful tool and worth knowing well.
Offline
lftp (mirror), way easier.
1000
Offline
Pages: 1