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 7-Zip, ZIP, RAR and ARJ archives support encryption.
To specify a password for file encryption, perform the following steps:
- Choose Password dialogue. to display the
- Enter the password in the Password text box.
- Click .
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:
- Select the file that you want to rename.
- Choose F2, to display the Rename dialogue. , or press
- Enter the new filename in the New file name text box.
- Click .
5.3. To Copy Files in an Archive
To copy files in an archive, perform the following steps:
- Select the files that you want to copy.
- Choose Ctrl+C. , or press
- Open the location where you want to put the copied files.
- Choose Ctrl+V. , or press
5.4. To Move Files in an Archive
To move files in an archive, perform the following steps:
- Select the files that you want to move.
- Choose Ctrl+X. , or press
- Open the location where you want to put the moved files.
- Choose Ctrl+V. , or press
5.5. To Delete Files From an Archive
To delete files from an archive, perform the following steps:
-
Select the files that you want to delete.
-
Choose Delete to display the Delete dialogue.
or press -
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.
-
Click
.
5.6. To Modify a File in an Archive
To modify a file in an archive perform the following steps:
- Double-click the file that you want to open. Alternatively right-click the file and choose .
- Edit the file opened in step 1, and then save your changes.
- Archive Manager shows a confirmation dialogue, asking confirmation to update the file in the archive with the changes you made.
- 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 dialogue. If Archive Manager cannot determine the appropriate application, Archive Manager displays the Open Files dialogue to let you choose an application, as described below.
5.6.1. To Modify a File in an Archive with a Custom Application
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:
- Right-click the file.
- Choose .
Archive Manager displays the Open Files dialogue, 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 . Alternatively, enter the application name in the Application text box and then click to launch the application of your choice.
Once the application starts follow the procedure from step 2 as described in Section 5.6 ― To Modify a File in an Archive.