I am trying to un-tar into a different directory using this
tar xvf BACKUP.tar -C test
But I am getting the following errors
File -C not present in the archive.
File test not present in the archive.
Using
tar xv -C test -f BACKUP.tar
I get the following error
tar: /dev/rmt0: A file or directory in the path name does not exist.
I do have a test directory and the file BACKUP.tar in the pwd that I am running the tar command in
Still the same error
tar -xvf BACKUP.tar -C test
File -C not present in the archive.
File test not present in the archive.
And
tar --version
gives this error
tar: Not a recognized flag: -
Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRUsvwZ ] [ -Number ] [ -f TarFil e ]
[ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
[ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ...
Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
[ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
[ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...
tar --versionand your platform withuname -aJust put that info at the bottom of your posttarspits out it looks like-Cis supported. You still have not indicated what kind of system this is (or did I miss something?)