|
I'd like to be able to open files with extensions other that .zip that have zip contents using Emacs' built-in zip file support. Is this possible? If so, how?
Started by Chris R on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Archive-mode)) ;; also for .xo files (zip) (add-to-list 'auto-mode-alist '("\\.xo.
\\'".
|
|
I have a simple backup server that rsyncs several network shares and then compresses them into a zip file that is loaded onto tapes.
zip -r /media/1tb/backup/compressed/reports.zip /media/1tb/backup/nightly/reports/
And about half way through i get
adding...
Started by The Digital Ninja on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Which version of zip are you using? You need.
That it doesn't generate a single archive that is so big .
|
|
Hopefully you've heard of the neat hack that lets you combine a JPG and a Zip file into a single file and it's a valid (or at least readable) file for both formats. Well, I realized that since JPG lets arbitrary stuff at the end, and ZIP at the beginning...
Started by Tom Ritter on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Now alot of processors ignore this, although Windows' zip folder ....
The end of central (if you have only one .zip file, that means the current file).
What people say zip files cannot technically be put verbatim at the end of files.
|
Ask your Facebook Friends
|
I'm looking to convert US Format Zip Code -1234 to . But the zip may also be Canadian, UK or the World for that matter.
So I guess a sanity check would be that you have 5 digits all 0-9 followed by a dash followed by 4 digits 0-9. If that fails leave ...
Started by MrLimo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try
preg_replace('/(\d{5})\-\d{4}/', '$1', $zipcode);
$output = preg_replace('!\(d{5})-\d{4}!', '$1', $input);.
|
|
I have the following Nant Script snippet.
<zip zipfile="${devEnvironment}..\dev-${datetime::get-year(datetime::now())}${datetime::get-month(datetime::now())}${datetime::get-day(datetime::now())}.zip"> <fileset basedir="${devEnvironment}"> ...
Started by JamesEggers on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I'll try it again....
After running the script in verbose mode without making any changes to the script itself (not even hitting save again), it worked fine .
I'll bet a dollar the macro expansion is evaluating to something you don't expect .
Run it verbose.
|
|
Hi,
I am using the Zip utility package of Java and wanted to know how to create a zip file with no compression at all. Setting the level to 0 doesn't help. Is this right?
Also, when I used the 'STORED' method, it throws following exception:
java.util....
Started by Keya on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're using linux and do not want any compression, why don't you use tar instead of zip ?
Commons Compress gives you an easy way to work with Tar.
A new file (entry) in the zip file you are creating.
|
|
I have the following code for adding to/extracting from Zip. I'm trying to refactor this to make it test-ready. Can someone provide pointers on how I can accomplish this? Aside: I'm using Moq as my mock framework and MSTest as my Unit Testing tool
private...
Started by Vyas Bharghava on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
String folder) { using (var zip = System.IO.Packaging.Package.Open(ZipStreamProvider.GetStream fileToAdd) { using (var zip = System.IO.Packaging.Package.Open(ZipFileName, FileMode.OpenOrCreate)) { var.
|
|
I have a .zip archive containing several directories. Using the rubyzip gem I would like to reach into the .zip archive, copy a specified directory (and its contents) and move the directory into a second .zip archive.
Ideally I would not have to extract...
Started by rswolff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Copy the entire first zip file and then use rubyzip methods to delete everything but the target.
|
|
Hi
How i can ZIP and UnZIP using the Zip Password ?
(like if i want to set a password to my ZIP file)
(i work with C#)
thank's in advance
Started by Gold on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This article explains how you can handle correctly zipping and....
Zip / Unzip folders and files with C#
The .NET Framework includes GZipStream and related classes, but they only support compression, not the standard ZIP file structure.
|
|
I'm trying to make the complete shift from ZtreeWin, and one function I do often in ZTW is select (recent) files, and zip. However I prefer to create a zip, with its Modified file-date set=latest date in files zipped, and just the 'relative' path stored...
Started by JohnHP on
, 20 posts
by 3 people.
Answer Snippets (Read the full thread at dopus):
I can't think of a way to have the file date of the zip file set to that of a file within it, sorry" -a -ex -o -p @{allfilepath|filem} {dlgopen|Zip-Archive name|arch.zip}
Perhaps I don't understand ON or OFF doesn't seem to do it,....
|