Forrest logo
back to context overview

7z

List of commands for 7z:

  • 7z:ai:94062 Use the 'e' command to extract the contents of the img file.
    $ 7z e file.img
    try on your machine
    explain this command
  • 7z:ai:e28bc How can i extract with 7z from an img file to a specific directory in linux cli ?
    $ 7z x -o${directory} /path/to/imgfile.img
    try on your machine
    explain this command
  • 7z:ai:f1c59 How can i extract an img file with 7z to a specific directory in linux cli ?
    $ 7z x file.img -o ${directory}
    try on your machine
    explain this command
  • 7z:tldr:0834c 7z: [a]rchive using a specific archive type.
    $ 7z a -t${select} ${path-to-archive-7z} ${filename_or_directory}
    try on your machine
    explain this command
  • 7z:tldr:0bbfa 7z: List available archive types.
    $ 7z i
    try on your machine
    explain this command
  • 7z:tldr:24731 7z: Encrypt an existing archive (including filenames).
    $ 7z a ${path-to-encrypted-7z} -p${password} -mhe=on ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7z:tldr:45b03 7z: E[x]tract an archive preserving the original directory structure.
    $ 7z x ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7z:tldr:64881 7z: [l]ist the contents of an archive.
    $ 7z l ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7z:tldr:78f70 7z: E[x]tract an archive to a specific directory.
    $ 7z x ${path-to-archive-7z} -o${path-to-output}
    try on your machine
    explain this command
  • 7z:tldr:e4dd1 7z: E[x]tract an archive to `stdout`.
    $ 7z x ${path-to-archive-7z} -so
    try on your machine
    explain this command
  • 7z:tldr:eedf3 7z: [a]dd a file or directory to a new or existing archive.
    $ 7z a ${path-to-archive-7z} ${filename_or_directory}
    try on your machine
    explain this command
back to context overview