I'm trying to extract a specific file/directory from a tar archive to particular directory using the following command
expecting that the abc directory in the abc.iso will be extracted to the /xyz/ directory, which does exist, but get these errors
tar: -C: Not found in archive
tar: /xyz: Not found in archive
What am I doing wrong?
tar xf abc.iso abc -C /xyz
expecting that the abc directory in the abc.iso will be extracted to the /xyz/ directory, which does exist, but get these errors
tar: -C: Not found in archive
tar: /xyz: Not found in archive
What am I doing wrong?