jitty-scripts/backity/backity.sh

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