|
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.
Open the file, then type
M-: (archive-mode)
If you're doing this a lot, then you might want\\'" .
|
|
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):
FAT16 is limited to 2Gb per file that it doesn't generate a single archive....
How large is the file at the point of the error?
The problem is most likely the filesystem on the drive you are backing up to not supporting files large enough.
|
|
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):
Basically you find-ready-to-use #Now we....
Now alot of processors ignore explorer (not that you might care ;P) See Zip APPNOTE for info on the file format.
If you have only one .zip file, that means the current file).
|
Ask your Facebook Friends
|
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.
|
|
I need to make a file format for my software. The data is basic key/value pairs and images. The options are:
1) One XML file that has CDATA tag with binary encoded image files or image files encoded in a RGBRGBRGB or RGBARGBARGBA format.
2) One XML file...
Started by Memb on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
However, a single XML ....
When using a single XML file with embedded images you would have to use base64 encoding to save your.
In general I would prefer the zipped option as the file.
Easily roll your own version of such a format.
|
|
Given a path to a file, how can I validate that the file is a password-protected zip file?
i.e., how would I implement this function?
bool IsPasswordProtectedZipFile(string pathToFile)
I don't need to unzip the file -- I just need to verify that it's ...
Started by frankadelic on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
A zip can contain some entries) Console....
Var file = @"c:\testfile.zip"; FileStream fileStreamIn = new is not placed on the file, but on the individual entries within the file.
For the first entry in the zip file.
|
|
I am using java's java.util.zip api to add files and folders to a zip file, but when i add multiple files into the same folder, it deleted the old contents. Is there any way i can add files into the zip file without modifying existing contents in the ...
Started by stanley on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If two....
If you want to add a new file to an existing zip file, you must first unzip everything, then add file and adds all files from the existing zip to the 'new' zip before adding the extra files.
|
|
I am looking as a new file format specification and the specification says the file can be either xml based or a zip file containing an xml file and other files.
The file extension is the same in both cases. What ways could I test the file to decide if...
Started by Phil Hannent on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
The ones for ZIP archives are listed on the ZIP it - an XML file is exceedingly unlikely to be a valid zip file, or could check the magic numbers might have a function....
You could look at the magic number of the file.
|
|
I have a path to a zip file. I don't know how to
retrieve the file from the hard drive or open that zip file. Does anyone know? The zip file is a zip file, but it's really a .epub file.
Started by Alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://docs.python.org; file = epub.open('some_file.txt') >>> file.read().
ZipFile(file_name[, mode[, compression[, allowZip64]]]) from the zipfile package.
|
|
I once read somewhere that it takes longer to download a zipped file than an unzipped file of the same size, due to the nature of the zip file.
Is this true or nonsense?
edit: i'm speaking about HTTP traffic
Started by jao on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at superuser):
So when compression is turned on, a 1 MB zip file will be transferred of the file....
Enabled as it will have to open and unpack the zip file to check the contents rather than being able efficiently compress data 2 times.
|