Add 'mcbackup' script
This commit is contained in:
parent
25d7fdec21
commit
cdfa0a9867
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