diff --git a/.local/bin/scripts/mcbackup b/.local/bin/scripts/mcbackup new file mode 100755 index 0000000..f569040 --- /dev/null +++ b/.local/bin/scripts/mcbackup @@ -0,0 +1,5 @@ +#!/bin/sh + +# Script to backup Minecraft save and compress it via lz4 alghoritm. + +tar -cp "$1" | lz4 -9 > "$1_$(date "+%Y-%m-%d_%H-%M").tar.lz4"