Created
September 5, 2015 14:26
-
-
Save nickleeh/0475a682d547c70819c6 to your computer and use it in GitHub Desktop.
Linux command to backup dotfiles. (dot file only, excluing directories starts with a dot)
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 . -maxdepth 1 -type f -name ".?*" -exec tar czfv dotfiles_`date +%F`.tgz {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment