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

Home » Public Forums » archive » Re: Copying files in IDL
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: Copying files in IDL [message #31207 is a reply to message #31192] Wed, 19 June 2002 08:51 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Sean Raffuse wrote:
>
> Hello folks. I would like to make a copy of an hdf file, changing only to
> filename and the content of one of datasets in the hdf. I have no problem
> putting in the new content, but this overwrites the old file, which I need
> to preserve. How do I copy and/or rename the file in IDL? I don't want to
> have to rebuild the entire hdf file and it's dozens of attributes. Just a
> near exact copy with a different name.
>
> Thanks in advance,
>
> Sean

Dear Sean,

what's with this primitive way.


spawn,'cp file.hdf new_file.hdf'

and then operations on then new file.


regards

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 3-d viz
Next Topic: .idl data format

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

Current Time: Wed Oct 08 19:48:09 PDT 2025

Total time taken to generate the page: 0.00455 seconds