Archiving Files and Directories with Engrampa (with examples)

Archiving Files and Directories with Engrampa (with examples)

Engrampa is a command-line tool used to package files into zip or tar archives in the MATE desktop environment. This article will explore different use cases of the engrampa command and provide code examples for each case.

Starting Engrampa

To start Engrampa, simply execute the engrampa command:

engrampa

Motivation: Starting Engrampa allows users to access its graphical user interface (GUI) for archiving and extracting files conveniently.

Example Output: This command will launch the Engrampa GUI on the user’s desktop.

Opening Specific Archives

To open specific archives, provide the paths to the archives as arguments to the engrampa command:

engrampa /path/to/archive1.tar /path/to/archive2.tar ...

Motivation: Opening a specific archive in Engrampa allows users to browse its contents, extract files, or modify the archive’s contents.

Example Output: This command will open the specified archives in the Engrampa GUI, allowing users to browse their contents.

Archiving Files and/or Directories Recursively

To create an archive of specific files and/or directories recursively, use the --add-to option followed by the path to the archive file and the paths to the files or directories to be included:

engrampa --add-to=/path/to/compressed.tar /path/to/file_or_directory1 /path/to/file_or_directory2 ...

Motivation: Archiving files and directories allows users to bundle related data together for storage, sharing, or backup purposes.

Example Output: This command will create a new archive named “compressed.tar” and add the specified files and directories into it recursively.

Extracting Files and/or Directories from Archives

To extract files and/or directories from archives to a specific path, use the --extract-to option followed by the path to the extraction directory and the paths to the archives to be extracted:

engrampa --extract-to=/path/to/directory /path/to/archive1.tar /path/to/archive2.tar ...

Motivation: Extracting files and directories from archives allows users to retrieve specific data or restore backups to the desired location.

Example Output: This command will extract the contents of the specified archives into the specified directory, preserving their original directory structure.


With the engrampa command and its various options, users can easily create, open, add to, and extract files and directories from archives. These examples demonstrate different use cases for Engrampa in the MATE desktop environment, providing users with the ability to organize and manage their files effectively.

Related Posts

How to use the command apt (with examples)

How to use the command apt (with examples)

The apt command is a package management utility for Debian-based distributions.

Read More
How to use the command 'tracert' (with examples)

How to use the command 'tracert' (with examples)

The ’tracert’ command is a network diagnostic tool that is used to trace the route taken by packets from your PC to a target IP address.

Read More
Bower Command Examples (with examples)

Bower Command Examples (with examples)

1: Installing a project’s dependencies bower install Motivation: This command is used to install all the dependencies listed in the bower.

Read More