I have some tar files that are 3gb or larger. A listing of their contents shows that they have files that do not need to be backedup. I created a folder named "untarhere" to extract the file contents into. My question/problem is: How do I create a tar archive without it saving the "untarhere" folder name.
# cd /untarhere
2007_Jul_12 2007_Jul_13 2007_Jul_14
If I run
# tar vcf ./2007_Jul_12.tar.gz /untarhere/2007_Jul_12
# tar tf ./2007_Jul_12.tar.gz
The output I want to see is this:
I do not want "/untarhere" to be saved in the tar file. How do I tell tar to do this?