Rsync through SSH
-e flag to specify the protocol
Get files from remote
After first creating the website directory, I did:
Rsync backup files from list
backup ()
{
cd ~
rsync --info=progress2 -r -z --delete --files-from=sync-files . vector@resonyze.xyz:~/backup/
}
Example of text file file: s
bin/
.xinitrc
.xbindkeysrc
.Xmodmap
.vimrc
.bashrc
.inputrc
.bash_history
sync-files
notes/
.config/compton/compton.conf
.tmux.conf
books/