how do I tar.gz everything apart from jpg/gif/png/wmv/flv/zips, recursively, via the Unix shell?
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 Dec 10 '09 at 0:47
|
Use the
|
|||
|
I used multilple lines to make it easier to edit later in case you made this into a shell script or shell function. I use the -r flag for tar in case the number of files exceeds 1 call into xargs. This way you can't exceed the argument buffer for tar. |
|||
|
|
|
|||||||||||||
|