Forrest logo
back to context overview

zipgrep

List of commands for zipgrep:

  • zipgrep:tldr:43a06 zipgrep: Search for lines that do not match a pattern.
    $ zipgrep -v "${search_pattern}" ${filename-zip}
    try on your machine
    explain this command
  • zipgrep:tldr:9b1fb zipgrep: Specify files inside a ZIP archive from search.
    $ zipgrep "${search_pattern}" ${filename-zip} ${file-to-search1} ${file-to-search2}
    try on your machine
    explain this command
  • zipgrep:tldr:ab958 zipgrep: Search for a pattern within a ZIP archive.
    $ zipgrep "${search_pattern}" ${filename-zip}
    try on your machine
    explain this command
  • zipgrep:tldr:bee6b zipgrep: Print file name and line number for each match.
    $ zipgrep -H -n "${search_pattern}" ${filename-zip}
    try on your machine
    explain this command
  • zipgrep:tldr:e7dbf zipgrep: Exclude files inside a ZIP archive from search.
    $ zipgrep "${search_pattern}" ${filename-zip} -x ${file-to-exclude1} ${file-to-exclude2}
    try on your machine
    explain this command
back to context overview