comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL 8.2.3 released!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FILE_GZIP removes file extension [message #84862 is a reply to message #84853] Fri, 14 June 2013 12:24 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Thursday, June 13, 2013 5:18:31 PM UTC-6, timoth...@gmail.com wrote:
>
> However it seems to me that it would be good to have an option to save the original name. In fact you would think that would be the default to save the original to be consistent with how the file_zip routine works and have the option to not save the original name.
>

Hi Tim,

Though odd, this is expected behavior for GZIP. Chris, his team and I actually discussed this when they were creating FILE_GZIP/FILE_GUNZIP.

Note that the default one-parameter call to these routines preserves the original extension; e.g.,

IDL> file_gzip, 'foo.txt'
IDL> $ls
foo.txt foo.txt.gz

with complimentary behavior for FILE_GUNZIP.

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in query_video()
Next Topic: export structure to an ascii file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:26:56 PDT 2025

Total time taken to generate the page: 0.00482 seconds