Last active
September 3, 2016 14:56
-
-
Save vnegrisolo/5e762a00d0f7a761b1c3387268f20634 to your computer and use it in GitHub Desktop.
Simple backup script
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
# remove unwanted files: | |
find . -type f -name 'index.html' -print0 | xargs -0 echo | |
for f in * ; do echo "f='${f}'"; tar -czf ${f}.tar.gz ${f}; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment