15 lines
181 B
Bash
15 lines
181 B
Bash
#!/bin/bash
|
|
|
|
|
|
localBackup(){
|
|
echo -n "Directory or file to backup: "
|
|
read input
|
|
|
|
echo -n "Output directory: "
|
|
read output
|
|
|
|
duplicity -v ${input} file//${output}
|
|
}
|
|
|
|
localBackup
|