Forrest logo
back to context overview

ptargrep

List of commands for ptargrep:

  • ptargrep:tldr:15ec8 ptargrep: Search for a pattern within a tar file.
    $ ptargrep "${search_pattern}" ${filename}
    try on your machine
    explain this command
  • ptargrep:tldr:64881 ptargrep: Extract to the current directory using the basename of the file from the archive.
    $ ptargrep --basename "${search_pattern}" ${filename}
    try on your machine
    explain this command
  • ptargrep:tldr:66c33 ptargrep: Search for a pattern within multiple files.
    $ ptargrep "${search_pattern}" ${filename1} ${filename2} ${filename3}
    try on your machine
    explain this command
  • ptargrep:tldr:fc209 ptargrep: Search for a case-insensitive pattern matching within a tar file.
    $ ptargrep --ignore-case "${search_pattern}" ${filename}
    try on your machine
    explain this command
back to context overview