Hey all-
I am trying to tar up a directory in a bundle and output it into a .tar. I have done this more times then I can remember, but I seem to be having a brain fart. Correct me if I am wrong but isn't this the correct command:
tar cvf directory/* directory.tar
I am recieving an error that directory.tar does not exist, but isn't this command telling the OS to tar the directory and everything in it and output it to a file called directory.tar if no directory. tar then create.
I have also created a directory.tar using the mkdir command, but after running tar cvf then tar tvf it does not transpose anything in that directory. Did I miss something obvious?
Thank you for any assistance
I am trying to tar up a directory in a bundle and output it into a .tar. I have done this more times then I can remember, but I seem to be having a brain fart. Correct me if I am wrong but isn't this the correct command:
tar cvf directory/* directory.tar
I am recieving an error that directory.tar does not exist, but isn't this command telling the OS to tar the directory and everything in it and output it to a file called directory.tar if no directory. tar then create.
I have also created a directory.tar using the mkdir command, but after running tar cvf then tar tvf it does not transpose anything in that directory. Did I miss something obvious?
Thank you for any assistance