New Script: backity.sh
This commit is contained in:
parent
71a42bcdfc
commit
b0ce38a64d
14
Bash Scripts/backity/backity.sh
Normal file
14
Bash Scripts/backity/backity.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
localBackup(){
|
||||||
|
echo -n "Directory or file to backup: "
|
||||||
|
read input
|
||||||
|
|
||||||
|
echo -n "Output directory: "
|
||||||
|
read output
|
||||||
|
|
||||||
|
duplicity -v ${input} file//${output}
|
||||||
|
}
|
||||||
|
|
||||||
|
localBackup
|
Loading…
x
Reference in New Issue
Block a user