how do I tar.gz everything apart from jpg/gif/png/wmv/flv/zips, recursively, via the Unix shell?
|
| ||||
|
feedback
|
migrated from stackoverflow.com Dec 10 '09 at 0:47
This question came from our site for professional and enthusiast programmers.
|
Use the
| |||
feedback
|
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. | |||
|
feedback
|
| |||||||||||||
feedback
|