fix: new date format, fix a typo, restructure backup.sh

This commit is contained in:
th33xitus
2021-01-27 19:57:19 +01:00
parent fb52c7e4ab
commit e233d8435a
2 changed files with 59 additions and 49 deletions

View File

@@ -69,7 +69,7 @@ title_msg(){
echo -e "${cyan}$1${default}"
}
get_date(){
current_date=$(date +"%Y%m%d_%H%M")
current_date=$(date +"%y%m%d-%H%M")
}
print_unkown_cmd(){
ERROR_MSG="Invalid command!"