HP3000-L Archives

May 2004, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Christidis <[log in to unmask]>
Reply To:
Date:
Wed, 26 May 2004 15:14:56 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (91 lines)
Ray,

If the dates of interest do not include the 'create date' then there is
another option:

For each file execute the following command file:

      setvar f "arex"
      setvar t_time "0" + "![FINFO(f,-24)]"
      echo Continue >>*t
      echo touch.hpbin.sys; &
       info="-m ![finfo(f,-8)]![lft(rht(t_time,6),4)] ![finfo(f,38)]" >>*t

Where 'arex' would be replaced by the name of each file being moved, and *t
points to a simple text file.

At the end of the process the text file will contain a series of commands
similar to the one below:
      Continue
      touch.hpbin.sys; info="-m 200003300956 /SYS/SUPUTIL/AREX"

The 'text' file is moved to the remote system along with the other files
(assuming that the group and account names are maintained) and executed.

The modify date and time of the files will be set to the modify date that
the files had on the 'local' system.

If the requirement is to also retain the access date and time then the
command file need to be expanded to issue another 'touch.hpbin...' command
using the 'access' parms of each file (-40 and -7) and the "-a " switch.
If it is acceptable to set the modify and access dates to the same value
then replace the "-m" switch with "-ma".

Regards
Paul Christidis



HP-3000 Systems Discussion <[log in to unmask]> wrote on 05/26/2004
02:33:15 PM:

> Thanks to all.
>
> Since the files we need to move are huge, we're going to store to
> disc using orbit, then FTP the orbit file to the remote box, and
> restore using olddate.
>
>
> > -----Original Message-----
> > From: Shahan, Ray
> > Sent: Wednesday, May 26, 2004 3:01 PM
> > To:   [log in to unmask]
> > Subject:      DSCOPY/NBCOPY question
> >
> > Hi all,
> >
> >       We need to copy some daily files from one 3k box to another
> 3k box every night.  The problem is that we have utilities that
> perform various things on the files based upon the create dates of
> the files, and both NBCOPY and DSCOPY build NEW files on the remote
> box which show the current create date rather than the original
> create date of the copied file [and yes, I realize that this is as
> it should be :-)].  So, does anyone know of a way (other than
> STORE/RESTORE) around this (a way to have the create-date of the
> source file be the create-date of the new file)?
> >
> >
> > As always, TIA,
> >
> >
> > Ray Shahan
> >
> > Life is not a journey to the grave with the
> > intention of arriving safely in a pretty and
> > well preserved body, but rather to skid in
> > broadside, thoroughly used up, totally worn out,
> > and loudly proclaiming:
> >
> >       -- WOW!!!   What a Ride! --
> >
> >
> >
> >
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2