Forrest logo
back to the engrampa tool

engrampa:tldr:54349

engrampa: Archive specific files and/or directories recursively.
$ engrampa --add-to=${path-to-compressed-tar} ${filename_or_directory1 filename_or_directory2 ---}
try on your machine

This command uses the engrampa command-line tool to add files or directories to a compressed tar archive.

Here is a breakdown of the command:

  • engrampa: This is the command to invoke the engrampa tool, which is a file archiver utility for Linux systems.
  • --add-to=${path-to-compressed-tar}: This option specifies that the files or directories are to be added to a compressed tar archive. ${path-to-compressed-tar} should be replaced with the actual path to the compressed tar file where you want to add the files.
  • ${filename_or_directory1 filename_or_directory2 ---}: These are the files or directories that you want to add to the tar archive. You can list multiple filenames or directories separated by spaces. Replace filename_or_directory1, filename_or_directory2, and so on with actual file or directory names.

For example, if you want to add two files named file1.txt and file2.txt to a compressed tar archive located at /path/to/archive.tar.gz, you would use the command:

engrampa --add-to=/path/to/archive.tar.gz file1.txt file2.txt
This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the engrampa tool