Skip to content

A simple script to sync files from one machine to another over ssh.

Notifications You must be signed in to change notification settings

jpscharf/RSYNCSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 

Repository files navigation

##syncSSH##

A wrapper script for using rsync over ssh.

Usage

-h,--help						Alias of usage (-u, --usage)

-H,--remote-host [user@]host	IP or DNS name of the ssh remote host.	
									*REQUIRED*
									
-k,--keyfile keyfile			Path to the key/identity file to use for
    							authentication.
    							
-l,--local-path localpath		Local path, source path for syncing.
								(default: current directory)
								
-L,--log-file logfile			Location to save a log of the results.
                                (default: .\syncSSH.log)
                                
-p,--port port					SSH port to use.
								
-q,--quiet                 		Run quietly with no output.

-r,--remote-path remotepath		Remote path, destination path on
								remote host for syncing.
									*REQUIRED*
								
-u,--usage                 		Display the help/usage information.

-v,--verbose					Verbose mode.  Causes script to print
    							debugging messages about its progress.
    							This is helpful in debugging connection,
    							authentication, and configuration problems.
    							Multiple -v options increase the verbosity.
    							The maximum is 3.
    							
-V,--version                   	Display the version number and exit.

About

A simple script to sync files from one machine to another over ssh.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages