Return to Snippet

Revision: 54734
at January 10, 2012 04:47 by bionic


Initial Code
find /my/directory -name '*zip' -exec sh -c 'unzip -l {} | grep -q MY_SEARCHPHRASE && rm {}' ';'

Initial URL


Initial Description
Find a directory withing a compressed file and remove it.

Initial Title
Find a directory withing a compressed file and remove it.

Initial Tags
find

Initial Language
Bash