I'm not on a zOS system now, but does its pax command have this option?

-p string
             Specify one or more file characteristic options (privileges).  The
             string option-argument is a string specifying file characteristics
             to be retained or discarded on extraction.  The string consists of
             the specification characters a, e, m, o, and p.  Multiple
             characteristics can be concatenated within the same string and
             multiple -p options can be specified.  The meanings of the
             specification characters are as follows:

             e   "Preserve everything", the user ID, group ID, file mode bits,
                 file access time, and file modification time.  This is intended
                 to be used by root, someone with all the appropriate
                 privileges, in order to preserve all aspects of the files as
                 they are recorded in the archive.  The e flag is the sum of the
                 o and p flags.

There are several more options, but it looks like "e" is what you'd use.

Mark Jacobs

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get&[email protected]


------- Original Message -------
On Tuesday, May 3rd, 2022 at 6:28 PM, Steely.Mark <[email protected]> 
wrote:


> I would like to back up a directory and then execute SKULKER to clean out the 
> old files.
>
> I really don't want to backup the complete HFS/ZFS file - DFDSS doesn't 
> backup the fie if it can't perform the quiesce on the file.
>
> I tried using the PAX command which worked great except that it updates the 
> LAST CHANGED date which prevent SKULKER from selecting that file for deletion.
>
> I thought about using DFDSS but it will only backup a single file that must 
> be specified - wildcards not allowed.
>
> Any thing else out there to back up a directory which will not affect the 
> dates & times for the file.
>
> Any other suggestion would be appreciated.
>
> Thank You
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to