chore(scripts): backup scripts tweaks and license

This commit is contained in:
2023-11-02 23:44:27 +02:00
parent b5df60851f
commit a96bf921a2
2 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,12 @@
#!/usr/bin/env bash
#
# Backup a folder with a timestamp
# Usage: x-backup-folder folder_to_backup [filename]
# If filename is not provided, folder_to_backup will be used
# Example: x-backup-folder ~/Documents/MyFolder
#
# Copyright (c) 2022 Ismo Vuorinen. All Rights Reserved.
# Licensed under the MIT license.
DIRECTORY=$1
FILENAME=$2

View File

@@ -2,7 +2,7 @@
#
# Backup local MySQL Database tables with certain prefix.
# Ismo Vuorinen <https://github.com/ivuorinen> 2018
#
# License: MIT
SCRIPT=$(basename "$0")
PREFIX=$1