# Manual del gestor d'arxius

El gestor d'arxius, també conegut com a Engrampa, us permet crear, visualitzar, modificar o desempaquetar un arxiu.

2019-2020
MATE Documentation Project
2009
Paul Cutler
2006
2008
Paolo Bacchilega
2003
2004
Sun Microsystems
2003
Paolo Bacchilega
2002
Alexander Kirillov
Projecte de documentació de MATE
Projecte de documentació de GNOME
MATE Documentation Project
MATE Desktop
Sun
GNOME Documentation Team
Sun Microsystems
Paolo
Bacchilega
GNOME Documentation Project
Alexander
Kirillov
GNOME Documentation Project
kirillov@math.sunysb.edu
Paul
Cutler
GNOME Documentation Project
pcutler@foresightlinux.org
1.10.0
July 2015

Wolfgang Ulbrich

MATE Documentation Project

2.26.0
March 2009

Paul Cutler

GNOME Documentation Project

2.24.0
July 2008

Paolo Bacchilega

GNOME Documentation Project

2.6
April 2006

Paolo Bacchilega

GNOME Documentation Project

2.5
March 2004

Sun GNOME Documentation Team

GNOME Documentation Project

2.4
February 2004

Sun GNOME Documentation Team

GNOME Documentation Project

2.3
August 2003

Sun GNOME Documentation Team

GNOME Documentation Project

2.2
June 2003

Sun GNOME Documentation Team

GNOME Documentation Project

2.1
January 2003

Paolo Bacchilega

GNOME Documentation Project

2.0
June 2002

Alexander Kirillov

GNOME Documentation Project

This manual describes version 1.22 of Archive Manager.
Joan Duran
jodufi@gmail.com
2008.
Joan Duran
Carles Ferrando Garcia
carles.ferrando@gmail.com
2010.
Carles Ferrando Garcia
Robert Antoni Buj Gelonch
rbuj@fedoraproject.org
2018.
Robert Antoni Buj Gelonch

## Introducció

Podeu utilitzar l'aplicació Gestor d'arxius per crear, visualitzar, modificar o desempaquetar un arxiu. Un arxiu és un fitxer que actua com a contenidor per a altres fitxers. Un arxiu pot contenir molts fitxers, carpetes i subcarpetes, generalment en forma comprimida.

El Gestor d'arxius només proporciona una interfície gràfica, i es basa en utilitats de línia d'ordres com ara `tar`, `gzip` i `bzip2` per a les operacions d'arxiu.

Si teniu instal·lades les eines de línia d'ordres adequades al vostre sistema, el Gestor d'arxius admet els formats d'arxiu que es llisten a la taula següent.

Format | Extensió de fitxer
--- | ---
Arxiu 7-zip | `.7z`
Arxiu ACE | `.ace`
Arxiu Alzip | `.alz`
Arxiu AR | `.ar`
Arxiu ARJ | `.arj`
Microsoft Cabinet archive | `.cab`
Arxiu CPIO | `.cpio`
Paquet Debian | `.deb`, `.udeb`
raw CD image | `.iso`
Arxiu Java | `.jar`
Enterprise Application aRchive | `.ear`
Web Application Resource or Web application ARchive | `.war`
Arxiu LHA | `.lha`, `.lzh`
Roshal ARchive | `.rar`
Comic Book (Rar-compressed) | `.cbr`
Paquet RPM | `.rpm`
Arxiu ar | `.tar`
Arxiu tar comprimit amb `bzip` | `.tar.bz` o `.tbz`
Arxiu tar comprimit amb `bzip2` | `.tar.bz2` o `.tbz2`
Arxiu tar comprimit amb `gzip` | `.tar.gz` o `.tgz`
Arxiu tar comprimit amb `lzip` | `.tar.lz` o `.tlz`
Arxiu tar comprimit amb `lzop` | `.tar.lzo` o `.tzo`
Arxiu tar comprimit amb `compress` | `.tar.Z` o `.taz`
Arxiu tar comprimit amb `7zip` | `.tar.7z`
StuffIt archive | `.bin` o `.sit`
Arxiu zip | `.zip`
Comic Book (Zip-compressed) | `.cbz`
Arxiu zoo | `.zoo`

El format d'arxiu més comú en sistemes Linux i similars a Unix, és el fitxer tar comprimit amb `gzip` o `bzip2`.

El format d'arxiu més comú en sistemes Microsoft Windows és l'arxiu creat amb PKZIP o WinZip.

### Fitxers comprimits sense arxivar

Un fitxer comprimit sense arxivar és un fitxer que es crea quan utilitzeu `bzip2`, `gzip`, `lzip`, `lzop`, `compress` o `rzip` per comprimir un fitxer sense arxivar. Per exemple, `fitxer.txt.gz` es crea quan utilitzeu `gzip` per comprimir `fitxer.txt`.

Podeu utilitzar el Gestor d'arxius per crear, obrir i extreure un fitxer comprimit sense arxivar.

## Primers passos

Aquesta secció proporciona informació sobre com iniciar el Gestor d'arxius, i descriu la interfície d'usuari del Gestor d'arxius.

### Com iniciar el Gestor d'arxius

Podeu iniciar el Gestor d'arxius de les maneres següents:

Menú Aplicacions

  Seleccioneu Accessoris Gestor d'arxius.

Línia d'ordres

  Executeu l'ordre següent: `engrampa`

### Quan inicieu el Gestor d'arxius

Quan inicieu Gestor d'arxius, es mostra la finestra següent:

#### Finestra del Gestor d'arxius

Mostra la finestra principal d'Engrampa.

La finestra del Gestor d'arxius conté els elements següents:

Barra de menús

  Els menús de la barra de menús contenen totes les ordres que necessiteu per treballar amb arxius al Gestor d'arxius.

Barra d'eines

  La barra d'eines conté un subconjunt de les ordres a les quals podeu accedir des de la barra de menús. El Gestor d'arxius mostra la barra d'eines per defecte. Per ocultar la barra d'eines, trieu Vista Barra d'eines. Per tornar a mostrar la barra d'eines, trieu una altra vegada Vista Barra d'eines.

Barra de carpetes

  La barra de carpetes us permet navegar entre les carpetes que hi ha dins d'un arxiu. El Gestor d'arxius mostra la barra de carpetes només a la vista de carpetes. Per obtenir més informació, consulteu .

Àrea de visualització

  L'àrea de visualització mostra el contingut de l'arxiu.

Barra d'estat

  La barra d'estat mostra informació sobre l'activitat actual del Gestor d'arxius i informació contextual sobre el contingut de l'arxiu. El Gestor d'arxius mostra la barra d'estat per defecte. Per ocultar la barra d'estat, trieu Vista Barra d'estat. Per tornar a mostrar la barra d'estat, trieu una altra vegada Vista Barra d'estat.

Quan feu clic amb el botó dret del ratolí a la finestra del Gestor de fitxers, l'aplicació mostra un menú emergent. El menú emergent conté les ordres d'arxiu contextuals més habituals.

#### Navegar pel sistema de fitxers

Several Archive Manager dialogs (New, Open, Extract,...) enable you to browse files and folders on your computer. Refer to the Desktop User Guide to learn more about using the file browsing dialogs.

You can also refer to the Bookmarks section of the Desktop User Guide to learn how you can use the Places pane to access your favorite locations.

## Treballar amb arxius

Quan utilitzeu el Gestor d'arxius per treballar amb un arxiu, tots els canvis es desen immediatament al disc. Per exemple, si elimineu un fitxer d'un arxiu, el Gestor d'arxius elimina el fitxer tan aviat com feu clic a D'acord. Aquest comportament és diferent de la majoria de les aplicacions, que només desen els canvis al disc quan sortiu de l'aplicació o seleccioneu Desa al menú.

Si un arxiu és molt gran, o si teniu un sistema lent, algunes accions d'arxiu poden trigar molt. Per cancel·lar l'acció actual, premeu Esc. De forma alternativa, trieu Vista Atura, o feu clic al botó Atura de la barra d'eines.

Al Gestor d'arxius, podeu realitzar la mateixa acció de diverses maneres. Per exemple, podeu obrir un arxiu de les maneres següents:

Component UI | Acció
--- | ---
Finestra | Arrossegueu un arxiu a la finestra del Gestor d'arxius des d'una altra aplicació com ara un gestor de fitxers.
Barra de menús | Trieu Arxiu Obre. Si heu obert recentment l'arxiu, es llistarà directament al menú Arxiu.
Barra d'eines | Feu clic al botó Obre de la barra d'eines. Si heu obert recentment l'arxiu, feu clic a la fletxa cap avall que hi ha a la vora del botó Obre de la barra d'eines.
Menú emergent del clic dret | Feu clic dret a l'arxiu, i després trieu Obre del menú emergent.
Tecles de la drecera | Premeu CtrlO.

Aquest manual documenta la funcionalitat des de la barra de menús.

### Patrons de nom de fitxer

El Gestor d'arxius us permet afegir, extreure o eliminar diversos fitxers alhora. Per aplicar una acció a tots els fitxers que coincideixin amb un determinat patró, introduïu el patró al quadre de text. El patró pot incloure símbols de comodins estàndards com ara * per coincidir amb qualsevol cadena, i ? per coincidir amb un únic símbol. Podeu introduir diversos patrons separats per punts i comes. El Gestor d'arxius aplica l'acció a tots els fitxers que coincideixin amb almenys un dels patrons. Els exemples de la taula següent mostren com utilitzar els patrons de nom de fitxer per seleccionar fitxers.

Patró | Fitxers coincidents
--- | ---
`*` | Tots els fitxers
`*.tar*` | Tots els fitxers amb extensió `tar`, incloent-hi aquells en què l'extensió `tar` la segueix qualsevol seqüència de símbols, com ara `nom_fitxer.tar.gz`
`*.jpg; *.jpeg` | Tots els fitxers amb extensió `jpg` i tots els fitxers amb extensió `jpeg`
`fitxer?.gz` | Tots els fitxers amb extensió `gz` que tenen el nom «fitxer» seguit per un caràcter qualsevol, p. ex. `fitxer2.gz`, `fitxerx.gz`.

### Com obrir un arxiu

Per obrir un arxiu, realitzeu els passos següents:

1. Trieu Arxiu Obre per mostrar el diàleg Obre. De forma alternativa, premeu CtrlO, o feu clic al botó Obre de la barra d'eines.

2. Seleccioneu l'arxiu que voleu obrir.

3. Feu clic a D'acord.

El Gestor d'arxius determina automàticament el tipus d'arxiu i mostra:

- El nom de l'arxiu a la barra de títol de la finestra

- El contingut de l'arxiu a l'àrea de visualització

- El nombre de fitxers i carpetes (objectes) a la ubicació actual, i la seva mida quan estan sense comprimir, a la barra d'estat

Per obrir un altre arxiu, trieu Arxiu Obre una altra vegada. El Gestor d'arxius obre cadascun dels arxius en una finestra nova. No podeu obrir un altre arxiu a la mateixa finestra.

Si proveu d'obrir un arxiu amb un format que no reconeix el Gestor d'arxius, l'aplicació mostra un missatge d'error. Per a una llista dels formats admesos, consulteu .

### Com seleccionar fitxers en un arxiu

Per seleccionar tots els fitxers en un arxiu, seleccioneu Edita Selecciona-ho tot o premeu CtrlA.

Per desseleccionar tots els fitxers en un arxiu, seleccioneu Edita Deselecciona-ho tot o premeu MajCtrlA.

### Com extreure fitxers d'un arxiu

Per extreure fitxers d'un arxiu obert, realitzeu els passos següents:

1. Seleccioneu els fitxers que voleu extreure. Per seleccionar més fitxers, premeu i mantingueu premuda la tecla Ctrl i feu clic als fitxers que voleu seleccionar.

2. Trieu Arxiu Extreu per mostrar el diàleg Extreu. De forma alternativa, feu clic a Extreu en la barra d'eines.

3. Seleccioneu la carpeta on el Gestor d'arxius extreu els fitxers.

4. Seleccioneu les opcions d'extracció requerides. Per obtenir més informació sobre les opcions d'extracció, consulteu .

5. Feu clic a Extreu.

   Si tots els fitxers en l'arxiu estan protegits per una contrasenya i no l'heu especificat, el Gestor d'arxius us demana que introduïu la contrasenya.

   Si alguns, però no tots els fitxers de l'arxiu estan protegits per una contrasenya, i no heu especificat la contrasenya, el Gestor d'arxius no demana cap contrasenya. Malgrat això, el Gestor d'arxius només extreu els fitxers no protegits.

   Per obtenir més informació sobre contrasenyes, consulteu .

El Gestor d'arxius també proporciona formes per extreure fitxers d'un arxiu en una finestra del gestor de fitxers, sense obrir cap finestra del Gestor d'arxius. Per obtenir més informació, consulteu .

L'operació Extreu, extreu una còpia dels fitxers especificats de l'arxiu. Els fitxers extrets tenen els mateixos permisos i la data de modificació que els fitxers originals que van ser afegits a l'arxiu.

L'operació Extreu no canvia el contingut de l'arxiu. Per obtenir informació sobre com eliminar fitxers d'un arxiu, consulteu .

### Com tancar un arxiu

Per tancar l'arxiu i la finestra actuals del Gestor d'arxius, trieu Arxiu Tanca , o premeu CtrlW.

No hi ha cap manera de tancar l'arxiu actual, sense tancar la finestra del Gestor d'arxius.

## Crear arxius

A més d'obrir arxius existents, també podeu crear arxius nous amb el Gestor d'arxius.

### Com crear un arxiu

To create an archive, perform the following steps:

1. Choose Archive New to display the New dialog. Alternatively press CtrlN, or click New in the toolbar.

2. Specify the folder where Archive Manager places the new archive clicking on the entry in the Save in folder drop-down list. If the folder is not present in list, click on Browse for other folders, and select the folder. Alternatively, enter the path in the Name text box.

3. Enter the name of the new archive, including the file extension, in the Name text box. Alternatively you can specify the archive name without extension, and then select the archive type from the Archive type drop-down menu, this way the extension will be added automatically.

4. Select the required create options clicking on Other Options. For more information about the create options, see .

5. Click New. Archive Manager creates an empty archive, but does not yet write the archive to disk.

6. Add files to the new archive as described in .

   Archive Manager writes a new archive to disk only when the archive contains at least one file. If you create a new archive and quit Archive Manager before you add any files to the archive, Archive Manager deletes the archive.

### Com afegir fitxers a un arxiu

To add files to an archive, perform the following steps:

1. Decide where in the archive you want to add the files, then open that location in the archive.

2. Choose Edit Add Files to display the Add Files dialog, or click Add Files in the toolbar.

3. Select the files that you want to add. To select more files press-and-hold Ctrl and click the files.

4. Click Add. Archive Manager adds the files to the current folder in the archive.

You cannot add folders to the archive with the Add Files dialog. To add a folder see .

The Add Files dialog provides the Add only if newer option, see for more information on this option.

You can also add files to an archive in a file manager window, without opening an Archive Manager window. See for more information.

The Add operation adds a copy of the specified files or folders to the archive. Archive Manager does not remove the original files, which remain unchanged in the file system. The copies that are added to the archive have the same permissions and modification date as the original files.

### Com afegir una carpeta a un arxiu

To add a folder to an archive, perform the following steps:

1. Decide where in the archive you want to add the files, then open that location in the archive.

2. Choose Edit Add a Folder to display the Add a Folder dialog.

3. Select the folder that you want to add.

4. Click Add. Archive Manager adds the folder to the current folder in the archive.

The Add a Folder dialog provides several advanced options. See for more information.

### Com convertir un arxiu a un altre format

To convert an archive to another format and save as a new file, perform the following steps:

1. Open the archive that you want to convert.

2. Choose Archive Save As to display the Save dialog.

3. Enter the new archive name in the Name text box.

4. Select the new format from the Archive type drop-down list. Alternatively, enter the filename extension in the Name text box, and select Automatic from the Archive type drop-down list.

5. Select the required create options clicking on Other Options. For more information about the create options, see .

6. Feu clic a Desa.

   Si tots els fitxers en l'arxiu estan protegits per una contrasenya i no l'heu especificat, el Gestor d'arxius us demana que introduïu la contrasenya.

   If some but not all of the files in the archive are protected by a password, and you have not specified the password, Archive Manager does not ask for a password. However, Archive Manager copies only the unprotected files to the new archive.

   Per obtenir més informació sobre contrasenyes, consulteu .

## Modificar el contingut d'un arxiu

You can modify the contents of an archive in several ways.

### Com xifrar fitxers en un arxiu

For security, you might want to encrypt the files that you add to an archive.

If the archive format supports encryption, you can specify a password to encrypt the files that you add to the archive.

Currently, only 7-Zip, ZIP, RAR and ARJ archives support encryption.

To specify a password for file encryption, perform the following steps:

1. Choose Edit Password to display the Password dialog.

2. Enter the password in the Password text box.

3. Feu clic a D'acord.

Archive Manager uses the password to encrypt the files that you add to the current archive, and to decrypt the files that you extract from the current archive. Archive Manager deletes the password when you close the archive.

For information on how to check whether an archive contains encrypted files, see .

The encryption provided by archive utilities is weak and insecure. If security is important, use a strong encryption tool such as GNU Privacy Guard.

### Com reanomenar un fitxer en un arxiu

To rename a file in an archive, perform the following steps:

1. Select the file that you want to rename.

2. Choose Edit Rename, or press F2, to display the Rename dialog.

3. Enter the new filename in the New file name text box.

4. Click Rename.

### Com copiar fitxers en un arxiu

To copy files in an archive, perform the following steps:

1. Select the files that you want to copy.

2. Choose Edit Copy, or press CtrlC.

3. Open the location where you want to put the copied files.

4. Choose Edit Paste, or press CtrlV.

### Com moure fitxers en un arxiu

To move files in an archive, perform the following steps:

1. Select the files that you want to move.

2. Choose Edit Cut, or press CtrlX.

3. Open the location where you want to put the moved files.

4. Choose Edit Paste, or press CtrlV.

### Com eliminar fitxers d'un arxiu

To delete files from an archive, perform the following steps:

1. Select the files that you want to delete.

2. Choose Edit Delete or press Delete to display the Delete dialog.

3. Select one of the following delete options:

   Tots els fitxers

     Delete all files from the archive.

   Selected files

     Delete the selected files from the archive.

   Fitxers

     Delete from the archive all files that match the specified pattern. See for more information about filename patterns.

4. Feu clic a D'acord.

### Com modificar un fitxer en un arxiu

To modify a file in an archive perform the following steps:

1. Double-click the file that you want to open. Alternatively right-click the file and choose Open.

2. Edit the file opened in step 1, and then save your changes.

3. Archive Manager shows a confirmation dialog, asking confirmation to update the file in the archive with the changes you made.

4. Click on Update.

Archive Manager uses the system-defined associations between file types and programs to determine the appropriate application to launch for a specific file. These assocations can be displayed and modified in the Open With tab of the file properties dialog. If Archive Manager cannot determine the appropriate application, Archive Manager displays the Open Files dialog to let you choose an application, as described in below.

#### Com modificar un fitxer en un arxiu amb una aplicació personalitzada

You can use an application specified by you, rather than the default application, to modify a file. To use an external application to open a file:

1. Right click the file.

2. Choose Open With....

Archive Manager displays the Open Files dialog, which lists all of the applications that can open files of the specified type. To select one of the applications, double-click the application name or click on the application name and then click Open. Alternatively, enter the application name in the Application text box and then click Open to launch the application of your choice.

Once the application starts follow the procedure from step 2 as described in .

## Viewing Archives

Archive Manager enables you to view several aspects of an archive.

### To View the Properties of an Archive

To view the properties of an archive, choose Archive Properties to display the Properties dialog. The Properties dialog displays the following information about the archive:

Name

  The name of the archive.

Location

  The position of the archive in the file system.

Modified on

  The date and time at which the archive was last modified.

Archive size

  The size of the archive contents when compressed.

Content size

  The size of the archive contents when uncompressed. This information is also available in the statusbar.

Compression ratio

  The compression ratio is a value used to describe the reduction in size of the data. For example a compression ratio of 5 means that the compressed archive is 1/5th the size of the original data.

Number of files

  The number of files in the archive.

### To View the Contents of an Archive

Archive Manager displays the archive contents in the main window as a file list with the following columns:

Name

  The name of a file or folder in the archive.

Size

  The size of the file when the file is extracted from the archive. For a folder, the Size field is blank. For information on how to display the size of the compressed file, see .

Type

  The type of the file. For a folder, the value in the Type field is `Folder`.

Date modified

  The date on which the file was last modified. For a folder, the Date modified field is blank.

Location

  The path to the file within the archive. This column is visible only when the window is in file view, when in folder view the location of the files is displayed in the Location text box of the folderbar. For more information about view types see .

If another program has modified the archive since Archive Manager opened the archive, choose View Reload to reload the archive contents from disk.

For information on how to customize the way that Archive Manager displays the archive contents, see .

For more advanced tasks, use an application installed on your system. For more information, see .

### To View a File in an Archive

To view a file in an archive follow the steps described in . If you save the opened file, click Cancel when Archive Manager asks confirmation to update the file in the archive.

### To Test the Integrity of an Archive

Sometimes an archive can be damaged for some reason, to check whether an archive is damaged, choose Archive Test Integrity:

- If the archive contains no errors, Archive Manager opens the Test Result dialog to list each file in the archive, and indicates that each file has status `OK`.

- If the archive contains some error, Archive Manager opens the Test Result dialog displaying the part of the archive contains the error.

A damaged archive can be impossible to extract, this can bring to a loss of data. For this reason you should test the archive integrity before deleting the original files.

If the archive contains encrypted files, Archive Manager asks the password of the archive before performing the test.

Not all the archive types support the integrity testing, the following is the list of archive types that can be tested for integrity: 7-Zip, RAR, ZIP, ACE, ARJ and Zoo.

#### Suggeriment

To test the integrity of an archive that doesn't support the integrity testing, extract all the files from the archive and check that the operation is completed successfully.

## Customizing the Archive Display

You can customize the way that Archive Manager displays the archive contents, as follows:

- Switch between folder view and file view. For more information, see .

- Specify the order in which to display files in the list. For more information, see .

- Display additional details about the contents of the archive. For more information, see .

Archive Manager updates the display immediately, when you make any of the above customizations.

### To Set the View Type

If the archive contains folders, you can show the archive contents in either or .

#### Folder View

Archive Manager displays the archive contents in folder view by default. To explicitly select folder view, choose View View as a Folder.

In folder view, Archive Manager shows folders in the same way as a file manager shows folders. That is, Archive Manager indicates folders in the display area with a folder icon and the folder name. To view the contents of a folder, double-click on the folder name.

The folderbar, which Archive Manager displays only in folder view, contains the components described in the following table.

Component | Descripció
--- | ---
Shows icon to navigate backwards in location history list. | Click on this button to navigate backwards in the location history list.
Shows icon to navigate forwards in location history list. | Click on this button to navigate forwards in the location history list.
Shows icon to navigate up one level in folder tree. | Click on this button to navigate up one level in the folder tree.
Shows icon to open the top-level folder in the archive. | Click on this button to open the top-level folder in the archive.
Ubicació | This field shows the full pathname, within the archive, of the current folder. To change to a different level in the folder tree, type the new location in the Location text box then press Return. Archive Manager displays the contents of the new location.

#### File View

To select file view, choose View View All Files.

In file view, Archive Manager displays all files in the archive, including files from subfolders, in a single list.

### To Sort the File List

You can sort the file list by name, size, type, modification date, or location.

To specify a sort order, click on the heading of the corresponding column.

To reverse the sort order, click on the column heading again.

For example, to sort the file list by modification date, click on the Date modified heading. Archive Manager rearranges the file list to display the files by modification date, starting with the earliest. To display the latest files first, click on the Date modified heading again.

Archive Manager always performs a secondary sort based on the file name. In the above example, Archive Manager sorts by name any files that have the same modification date.

### To Display Additional Details

To open the Last Output dialog, choose View Last Output:

- If you tested the archive in the current Archive Manager session, the Last Output dialog displays the results of the last test.

- If you did not test the archive in the current Archive Manager session, the Last Output dialog displays a list of all files in the archive, but does not indicate any status for the files. Instead, the Last Output dialog provides the compressed size of each file and the percentage of compression, and the date and time at which the file was last modified.

## Utilitzar el gestor de fitxers per treballar amb un arxiu

You can use the file manager to add files to an archive, or to extract files from an archive.

### To Add Files to an Archive by Using the File Manager

You can use the file manager to add files to an archive, in the following ways:

- Drag the files into a Archive Manager window from a file manager window.

- Use the file manager popup menu to add the files to the archive.

To use the file manager popup menu to add files to an archive, perform the following steps:

1. Right-click on the files or folders in a file manager window.

2. Choose Create Archive from the file manager popup menu to display the Archive Manager Create Archive dialog.

3. Enter the archive name, without the file extension, in the Archive text box.

4. Choose the archive type from the drop-down list.

5. Choose the location where to save the archive file, from the Location drop-down list. If the location is not present in the list choose Other... to select it with the Location dialog.

6. Select the required create options clicking on Other Options. For more information about the create options, see .

7. Click Create to add the selected files to the root folder of the specified archive.

   To select any of the advanced add options, you must invoke Archive Manager as described in .

### To Extract Files From an Archive by Using the File Manager

You can use the file manager to extract files from an archive, in the following ways:

- Drag the files from a Archive Manager window into a file manager window.

- Use the file manager popup menu to extract the files from the archive.

To use the file manager popup menu to extract files from an archive, perform the following steps:

1. Right-click on the archive in a file manager window.

2. Choose Extract Here to extract all of the archive contents into the directory where the archive is located.

If the archive is encrypted, Archive Manager will ask to enter the password before extracting the files.

## Opcions de creació

When creating a new archive, or when converting an existing archive to another format, click on Other Options to specify the following advanced options:

Contrasenya

  Type the password that will be used to encrypt the archive. If no password is specified the archive will not be encrypted.

  Not all archive types support encryption. For more information about file encryption, see .

Encrypt the file list too

  If this option is selected, the password will be requested even to view the list of files contained in the archive, otherwise it will be requested only to extract the files from the archive. This option is available only if a password is specified.

Split in volumes

  Select this option to split the archive in more files of the specified dimension.

  Only 7-Zip and RAR archives support this feature.

## Opcions d'afegiment

The Add Files and Add a Folder dialogs provide the following option:

Add only if newer

  Select this option to add the specified file to the archive only if the archive does not contain the specified file, or if the archive contains an older version of the specified file. Archive Manager uses the modification date to determine which file is the most recent. If the version of the file in the archive is the most recent, Archive Manager does not add the specified file to the archive.

  If you do not select this option, Archive Manager adds the file to the archive and overwrites the previous archive contents.

  ### Suggeriment

  If you use Archive Manager to create backups, the Add only if newer option is very useful. For example, the archive `backup.tar.gz` contains a week-old backup of your home folder. To update the archive to contain a current backup of your home folder, perform the following steps:

  1. Open the `backup.tar.gz` archive in Archive Manager.

  2. Choose Edit Add to display the Add a Folder dialog.

  3. Select your home folder.

  4. Select the Add only if newer option.

  5. Click Add.

  Archive Manager automatically adds to the archive all files that you created during the last week, and updates all files that you modified during the last week. However, Archive Manager does not remove from the archive the files that you deleted during the last week. The archive update operation is much faster than doing a full backup of your home folder.

### Add to Folder Options

The following options are available in the Add a Folder dialog and allow to automatically select and add all files that satisfy certain criteria:

Include files

  Type a filename pattern in this text box to include files with names that match the specified pattern. See for more information about filename patterns.

Exclude files

  Type a filename pattern in this text box to exclude files with names that match the specified pattern. See for more information about filename patterns.

Exclude folders

  Type a filename pattern in this text box to exclude folders with names that match the specified pattern. See for more information about filename patterns.

Include subfolders

  Select this option to add all files that match the specified pattern, from the current folder and from subfolders.

  The filename, not the subfolder name, must match the specified pattern.

  If you do not select this option, Archive Manager adds the matching files from the current folder only.

Exclude folders that are symbolic links

  Select this option to omit files from folders that are symbolic links. Symbolic links are pointers or shortcuts to other folders.

  If you do not select this option, Archive Manager adds the matching files from folders that are symbolic links.

Save Options

  Click on this button to save the current selection of advanced add options to a file. The Save Options dialog is displayed. Enter a descriptive filename in the Options Name text box, then click Save.

Load Options

  Click on this button to load or delete a previously saved selection of advanced add options. The Load Options dialog is displayed.

  - To load a set of options, select the options file in the list box, then click Apply.

  - To delete a set of options, select the options file in the list box, then click Remove. Click Close to close the Load Options dialog.

Reset Options

  Click on this button to reset the current selection of advanced add options to the default values.

## Opcions d'extracció

The Extract dialog provides the following options, which are saved when you quit Archive Manager:

Extract

  Select the files to be extracted:

  Tots els fitxers

    Extract all files from the archive.

  Selected files

    Extract the selected files from the archive.

  Fitxers

    Extract from the archive all files that match the specified pattern. See for more information about filename patterns.

Actions

  Seleccioneu les opcions d'extracció següents:

  Re-create folders

    Select this option to reconstruct the folder structure when extracting the specified files.

    For example, you specify `/tmp` in the Filename text box and choose to extract all files. The archive contains a subfolder called `doc`.

    - If you select the Re-create folders option, Archive Manager extracts the contents of the subfolder to `/tmp/doc`.

    - If you do not select the Re-create folders option, Archive Manager does not create any subfolders. Instead, Archive Manager extracts all files from the archive, including files from subfolders, to `/tmp`.

  Overwrite existing files

    Select this option to overwrite any files in the destination folder that have the same name as the specified files.

    If you do not select this option, Archive Manager does not extract the specified file if an existing file with the same name already exists in the destination folder.

  Do not extract older files

    This option is only effective while the Overwrite existing files option is selected.

    Select the Do not extract older files option to extract the specified file only if the destination folder does not contain the specified file, or if the destination folder contains an older version of the specified file. Archive Manager uses the modification date to determine which file is the most recent. If the version of the file in the archive is older, Archive Manager does not extract the specified file to the destination folder.

    If you do not select the Do not extract older files option while the Overwrite existing files option is selected, Archive Manager extracts the specified file from the archive and overwrites the previous contents of the destination folder.