Last active
November 22, 2017 15:32
-
-
Save amatsumara/407b211a72b893bbe09bdd733aa5e400 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/local/bin/bash | |
tar=/usr/bin/tar | |
${tar} --exclude backups -czf file_`date +%F_%H%M%S`.tar.gz /path/something | |
# tar -cJf file_`date +%F_%H%M%S`.tar.xz /path/something |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment