Modifying the Contents of an Archive

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

5.1. To Encrypt Files in an Archive

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 .zip 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. Click OK.

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 Section 7.3 ― To Display Additional Details.

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

5.2. To Rename a File in an Archive

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

  1. Select the file that you want to rename.
  2. Choose Edit ▸ Rename to display the Rename dialog.
  3. Enter the new filename in the New file name text box.
  4. Click Rename.

5.3. To Copy Files in an Archive

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

  1. Select the files that you want to copy.
  2. Choose Edit ▸ Copy.
  3. Open the location where you want to put the copied files.
  4. Choose Edit ▸ Paste.

5.4. To Move Files in an Archive

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

  1. Select the files that you want to move.
  2. Choose Edit ▸ Cut.
  3. Open the location where you want to put the moved files.
  4. Choose Edit ▸ Paste.

5.5. To Delete Files From an Archive

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

  1. Select the files that you want to delete.

  2. Choose Edit ▸ Delete to display the Delete dialog.

  3. Select one of the following delete options:

    All files

    Delete all files from the archive.

    Selected files

    Delete the selected files from the archive.

    Files

    Delete from the archive all files that match the specified pattern. See Section 3.1 ― Filename Patterns for more information about filename patterns.

  4. Click OK.