I know it's an addition of a big concept but it would be really useful if find had a --searcharchives swtich that searched in archives and returns paths with the archive in. e.g.:

cd /
find . --searcharchives -name remorse -print

returns:

/home/tim/test/my_archive.zip/base/deep/remorse.txt

Other applications would have to be adapted to accept the input. xargs and grep being at the top of the list.

Really useful for searching for class files in jar archives or files in backups e.g. tar files.

Tim.


Reply via email to