Add 'mcbackup' script
This commit is contained in:
parent
2ef7cd05f4
commit
8d77ab1198
5
.local/bin/scripts/mcbackup
Executable file
5
.local/bin/scripts/mcbackup
Executable file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user