Is it possible to create a target directory, similar in nature to the mkdir -p switch, where I can define a non-existent target directory within my tar command, and tar will create the directory for me?
I know I can redirctredirect the output to a directory using tar -C /target/dir, but this doesn't work if the target directory is non-existent.