Created
March 27, 2014 13:03
-
-
Save kalenjordan/9807089 to your computer and use it in GitHub Desktop.
Tar Magento Files
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
tar --exclude="media" --exclude="includes" --exclude="var" -cvf var/files.tar . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
be careful with the
--exclude="media"
switch because that will match on important files that contain "media" somewhere in the path e.g.js/tiny_mce/plugins/media/img/realmedia.gif
js/tiny_mce/plugins/media/img/windowsmedia.gif
js/tiny_mce/plugins/media/css/media.css
js/tiny_mce/plugins/media/js/media.js
js/tiny_mce/plugins/media/media.htm