Skip to content

Custom script to backup with SCP purely in shell

License

Notifications You must be signed in to change notification settings

Edgiest05/SCPBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCPBackup

Custom script to backup with SCP purely in shell

This repo exist just so I can backup my pictures easily with termux, don't expect too much from it

Usage

The script ensures by himself that it has everything it needs, else it won't run

The syntax is:

./scpBackup.sh <source folder> <destination folder>

In addition, it will search for environment variables:

  • SSHUSER
  • SSHDOMAIN
  • SSHPASS

The script won't ask for any kind of input, hence can be used as script for crontab or similar

At the moment everything in the source folder will be tranferred, subfolders included

THE SOFTWARE WILL WIPE THE ENTIRE SPECIFIED FOLDER CONTENTS IF IT SUCCEEDS

About

Custom script to backup with SCP purely in shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages