Created
August 1, 2011 17:58
-
-
Save intjonathan/1118643 to your computer and use it in GitHub Desktop.
heroku zip
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
>> puts `zip -h` | |
Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license. | |
Zip 2.32 (June 19th 2006). Usage: | |
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list] | |
The default action is to add or replace zipfile entries from list, which | |
can include the special name - to compress standard input. | |
If zipfile and list are omitted, zip compresses stdin to stdout. | |
-f freshen: only changed files -u update: only changed or new files | |
-d delete entries in zipfile -m move into zipfile (delete files) | |
-r recurse into directories -j junk (don't record) directory names | |
-0 store only -l convert LF to CR LF (-ll CR LF to LF) | |
-1 compress faster -9 compress better | |
-q quiet operation -v verbose operation/print version info | |
-c add one-line comments -z add zipfile comment | |
-@ read names from stdin -o make zipfile as old as latest entry | |
-x exclude the following names -i include only the following names | |
-F fix zipfile (-FF try harder) -D do not add directory entries | |
-A adjust self-extracting exe -J junk zipfile prefix (unzipsfx) | |
-T test zipfile integrity -X eXclude eXtra file attributes | |
-y store symbolic links as the link instead of the referenced file | |
-R PKZIP recursion (see manual) | |
-e encrypt -n don't compress these suffixes | |
=> nil |
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
=> nil | |
>> puts `zip -r /app/tmp/bundles /app/tmp/bundles` | |
adding: app/tmp/bundles/ (stored 0%) | |
adding: app/tmp/bundles/plaza_ie.css (deflated 46%) | |
adding: app/tmp/bundles/session.js (deflated 67%) | |
adding: app/tmp/bundles/mobile_application.css (deflated 75%) | |
adding: app/tmp/bundles/ux2_application.css (deflated 87%) | |
adding: app/tmp/bundles/esv.css (deflated 66%) | |
adding: app/tmp/bundles/not_supported.css (deflated 46%) | |
adding: app/tmp/bundles/ux2_groups_home.css (deflated 46%) | |
adding: app/tmp/bundles/admin.css (deflated 86%) | |
adding: app/tmp/bundles/new_user.css (deflated 87%) | |
adding: app/tmp/bundles/framework.js (deflated 77%) | |
adding: app/tmp/bundles/application.js (deflated 63%) | |
adding: app/tmp/bundles/global.js (deflated 62%) | |
adding: app/tmp/bundles/ux2_ff.css (stored 0%) | |
adding: app/tmp/bundles/ux2_grid.css (deflated 58%) | |
adding: app/tmp/bundles/lightview.css (deflated 76%) | |
adding: app/tmp/bundles/childrens_print.css (deflated 77%) | |
adding: app/tmp/bundles/mobile_iphone.css (deflated 21%) | |
adding: app/tmp/bundles/childrens.css (deflated 87%) | |
adding: app/tmp/bundles/admin_ie.css (deflated 63%) | |
adding: app/tmp/bundles/ux2_ie7.css (deflated 87%) | |
adding: app/tmp/bundles/giving.css (deflated 87%) | |
adding: app/tmp/bundles/mobile_blackberry.css (stored 0%) | |
adding: app/tmp/bundles/mobile_application.js (deflated 67%) | |
adding: app/tmp/bundles/application.css (deflated 87%) | |
adding: app/tmp/bundles/childrens_admin.css (deflated 87%) | |
adding: app/tmp/bundles/ux2_safari.css (deflated 69%) | |
adding: app/tmp/bundles/plaza_mobile.css (deflated 69%) | |
adding: app/tmp/bundles/ux2_login.css (deflated 88%) | |
adding: app/tmp/bundles/vendor.css (deflated 81%) | |
adding: app/tmp/bundles/plaza_base.css (deflated 78%) | |
adding: app/tmp/bundles/childrens_admin_login.css (deflated 89%) | |
adding: app/tmp/bundles/print.css (deflated 72%) | |
adding: app/tmp/bundles/iphone.js (deflated 45%) | |
adding: app/tmp/bundles/permanent.css (deflated 75%) | |
adding: app/tmp/bundles/ux2_ie.css (deflated 87%) | |
adding: app/tmp/bundles/kiosk.js (deflated 59%) | |
=> nil | |
>> puts `ls /app/tmp/` | |
attachment_fu | |
bundles | |
bundles.zip | |
hassle | |
home | |
last_access | |
last_access.12416355 | |
schema.rb | |
touch.foo | |
=> nil | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment