Do any of the directories start with a dash? Filename expansion is done by
the shell, not pax. So pax would see a dash and think the rest was an
option. Most likely you have a file or directory which is "-x" so the
following entry, "foldername" is being interpreted as the output format.
There is no fix other than not using a dash as the first character in a
file, directory, etc.name.

On Wednesday, November 4, 2020, Charles Mills <[email protected]> wrote:

> What the heck is pax trying to tell me?
>
> I enter the command
>
> pax -wvzf /u/maint/myarchive.pax *
>
> and pax responds
>
> FSUM7197 pax: invalid archive format selected: 'foldername'
>
> where foldername is one of the directories in the current path.
>
> What is pax trying to tell me and how do I fix it?
>
> Thanks,
>
> Charles
>
> ----------------------------------------------------------------------
> 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