I want to use rsync to connect to a server and backup all user websites, i am just not completely sure what would be proper command since there are multiple users and multiple web folders for each user. Before i actually do something stupid on server i am kindly asking you guys what would be proper command to sync all. From my local pc i would connect to ssh and copy all web folders. Would command below do the work ? Code: rsync -avP 'ssh -p <port-number>' --stats --delete [email protected]:/var/www/clients/client*/web*/web /path/to/local/folder I've read that using asterix * will copy all folders named with that name in that directory, so it should copy client2 client3 client4... and all web folders inside following the folder structure. Also removing trailing slash at the end will copy the folder it self rather just files. Would this command work as i imagined?