Last active
April 29, 2016 18:44
-
-
Save shuymn/09fc32a62160784864921e6d2ec30986 to your computer and use it in GitHub Desktop.
Minecraft World Backup like /foo/bar/WORLDNAME/backup-DATE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /path/to/minecraftserverdir -maxdepth 1 -name 'world*' -type d | xargs -I{} basename {} | xargs -I{} cp -R /path/to/minecraftserverdir/{} /path/to/backupdir/{}/backup-${date "+%Y%m%d-%H%M"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment