* Reading out the Uncompressed Size of a compressed File
@ 2009-10-09 10:16 Nordlöw
2009-10-09 11:34 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2009-10-09 10:16 UTC (permalink / raw)
To: help-gnu-emacs
Is there quick a way to determine the uncompressed size of a
compressed file?
Does gzip have this in its meta-data somehow?
I already know that we can figure this out by doing with-temp-buffer
insert-file-contents() and reading (point-max)-1 if we have auto-
compression-mode enabled.
But is there a faster way?
/Nordlöw
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reading out the Uncompressed Size of a compressed File
2009-10-09 10:16 Reading out the Uncompressed Size of a compressed File Nordlöw
@ 2009-10-09 11:34 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2009-10-09 11:34 UTC (permalink / raw)
To: help-gnu-emacs
> From: =?ISO-8859-1?Q?Nordl=F6w?= <per.nordlow@gmail.com>
> Date: Fri, 9 Oct 2009 03:16:50 -0700 (PDT)
>
> Is there quick a way to determine the uncompressed size of a
> compressed file?
>
> Does gzip have this in its meta-data somehow?
>
> I already know that we can figure this out by doing with-temp-buffer
> insert-file-contents() and reading (point-max)-1 if we have auto-
> compression-mode enabled.
>
> But is there a faster way?
"gzip -l FILE" will show you the uncompressed size of FILE.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-09 11:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 10:16 Reading out the Uncompressed Size of a compressed File Nordlöw
2009-10-09 11:34 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).