You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to look at files in a particular archive that has a number of other archives in it, and one of them is an encrypted zip file that causes the preprocessor to blow up. Is it possible to work around that or fix it? I don't care about searching the encrypted archive. Thanks for the great tool!
I'm trying to exclude the file using a regular rg flag but it doesn't work. I assume because the file is itself an archive within the ctrllog.tgz archive. This example fails:
rga --pre-glob '!*encrypted_file.zip*' 'search string' ctrllog.tgz
. . .
Error: Unsupported Zip archive: Encrypted files are not supported
Perhaps an enhancement could add a --ignore-preprocess-error flag and always return success to rg.
phiresky
changed the title
Workaround or fix for unsupported zip archive: "Encrypted files are not supported"
Allow ignoring errors for adapters failing on files within archives
Jan 16, 2024
I'm trying to look at files in a particular archive that has a number of other archives in it, and one of them is an encrypted zip file that causes the preprocessor to blow up. Is it possible to work around that or fix it? I don't care about searching the encrypted archive. Thanks for the great tool!
The text was updated successfully, but these errors were encountered: