Skip to content

A bash script for the Linux home user or system administrator that allows for mirroring of two servers (or desktops). Creates a cron job and passwordless encryption keys so the process is automated.

License

brettalton/rsync-over-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Brett Alton <brett.jr.alton@gmail.com>
http://brettalton.com

INFO:
	* you can either run this script using 'run' then 'push' or 'pull', you can install it using 'install' then 'push' or 'pull'  or you can choose the 'uninstall' option to remove previously installed files
	* if rsync/ssh are both prompting you for your password and it should be automatic, run 'rsync.sh uninstall' and then try again

DIRECTORIES CREATED:
	* $HOME/
		* bin
		* cron
		* logs

USAGE: ./rsync.sh ['uninstall' | 'install' | 'run'] ['push' | 'pull'] [local_dir] [remote_user] [remote_host] [remote_dir] [remote_ssh_port]

About

A bash script for the Linux home user or system administrator that allows for mirroring of two servers (or desktops). Creates a cron job and passwordless encryption keys so the process is automated.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages