I want to create tar file of a folder but this folder contains some tar.gz files like abc.tar.gz, pqr.tar.gz which i don't want to include so how to exclude this files while making the tar
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
migrated from stackoverflow.com May 20 '11 at 3:10
File.txt
|
|||
|
|
What about something like:
I haven't test it. It's only idea how to solve it. EDITED: It's even simpler:
This solution is tested and works. |
|||||
|
|
You can use the --exclude functionality in tar
|
|||
|