Hello all,
So here is the script I am trying to use...
rsync -avz -e 'ssh -p 22' --ignore-errors --exclude=/home/<username>/Music /home/<username>/ <username>@<desktop>:/home/<username>/
Here is what I am doing...

I have a laptop and desktop, I use the desktop all day at work and I want to mirror all files including hidden between them at the end of the day, and in the morning vise versa. I will eventually run the script via cron job.

So here are the important parts, I have music I do not want to sync, I want the files to sync to the home dir, not a sub folder in the home dir.

Also, if all packages are the same on both machines, does anyone see an issue with syncing the hidden files?