Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find /a/b/c -mindepth 1 -maxdepth 1 ! -path "STDF" -exec /usr/bin/gzip '{}' ;
- find /where/to/look/ -type d -not -name STDF
- find /a/b/c -mindepth 1 -maxdepth 1 -type d ! -name '*STDF*' -exec sh -c 'tar -zcvf "${1}".tar.gz "$@"' _ {} ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement