.
This commit is contained in:
parent
e80718891a
commit
6db17c7c1c
@ -58,8 +58,8 @@ echo -e "
|
|||||||
|
|
||||||
\e[34m[1] \e[0mCreate a new backup.
|
\e[34m[1] \e[0mCreate a new backup.
|
||||||
\e[34m[2] \e[0mList saved backups.
|
\e[34m[2] \e[0mList saved backups.
|
||||||
\e[34m[4] \e[0mChange backup directory.
|
\e[34m[3] \e[0mChange backup directory.
|
||||||
\e[34m[5] \e[0mGenerate a reusable backup script using these settings.
|
\e[34m[4] \e[0mINOPERABLE/Coming Soon - Generate a reusable backup script using these settings.
|
||||||
|
|
||||||
\e[34m[0] \e[31mExit\e[0m
|
\e[34m[0] \e[31mExit\e[0m
|
||||||
"
|
"
|
||||||
@ -97,11 +97,6 @@ case "$opt" in
|
|||||||
ls -al "$backupdir" | grep "backup"
|
ls -al "$backupdir" | grep "backup"
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
# Check /tmp for any rogue backups.
|
|
||||||
clear
|
|
||||||
ls -al /tmp | grep backup
|
|
||||||
;;
|
|
||||||
4)
|
|
||||||
# Change backup directory
|
# Change backup directory
|
||||||
read -p " New directory: " newdir
|
read -p " New directory: " newdir
|
||||||
echo $newdir > ./.dir
|
echo $newdir > ./.dir
|
||||||
|
Loading…
Reference in New Issue
Block a user