lundi 23 mars 2015

rsync question about a directory


i went ahead and used rsync to back up a root directory called /files my exact commands were rsync -avzh /files willc66@server.com:/backup inside my /files directory, i had 2 sub directories "home and images"


my question is, why didnt it copy /files directory as well? it just sent over the sub directories inside /backup


so my goal was to make it look like this


/backup -> /files -> home ->-> and -> images


shouldn't that command have sent over the "/files" directory as well instead of just the 2 sub directories inside?



Aucun commentaire:

Enregistrer un commentaire