#!/bin/bash
# Another useless script by https://noinfo.de
#
# Just change BACKUP_ROOT to the root of your backup-dir
# and BACKUP_THIS to the root of your important files and
# your data will be copied (recursively!) to a directory
# which will be created inside the BACKUP_ROOT and named
# after the current timestamp.
#
# If you have trouble using it, try
# curl -O https://noinfo.de/skripte/backup.sh
# to download the script
#
TIMESTAMP=`date +%Y_%j-%H_%M_%S`
BACKUP_ROOT=~/backup_root
BACKUP_THIS=/important_files_here
cp -R $BACKUP_THIS $BACKUP_ROOT/$TIMESTAMP/
exit 0
