Quantcast
Channel: General — LowEndTalk
Viewing all articles
Browse latest Browse all 22721

need help with rsync

$
0
0

Hi,

I want to sync my local music files with the older backup on my vps. As my upload speed is quite low, I don't want to just upload my whole music library (~10GB), just the new files and maybe if I deleted a file locally, so it should be deleted on my vps. I read that rsync is perfect for that, but I'm not sure which command I have to use for it. Is this the right one?
rsync -av --delete /Directory1/ /Directory2/

What I need:
*sync files between two directorys
*if there is a new file on my local pc upload it to the server
*if a file is deleted locally, delete it on my server
*if a file is changed locally, change it on my server

So I need my music locally backuped 1:1 to my VPS. Can you please help me with the rsync command?

Thank you :)


Viewing all articles
Browse latest Browse all 22721

Trending Articles