I am developing program on Linux machine. I have to create the .tar file of a directory and subdirectories.
How I can tar directory and subdirectories?
It's very easy in Linux or Unix. You can easily create tar archive of directory and subdirectories.
Use the following command:
tar -cvf myArchieve.tar myfolder/
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.