Easy scripting question - tar
I'm trying to write a script to tar a list of files in a directory. The line I'm using is:
tar -cvf /home/ma1234/blah.tar /home/ma1234/test/*.*
The issue I'm having is that this line does create the archive, but when I extract it, it is the full directory structure (ie: the home directory is listed, the I can drill down to the ma1234, then finally to the test directory where all the files are located).
How can I modify this script to include only the files and not the directory structure?
Thanks.
|