Работа с архиви

When you use Archive Manager to work with an archive, all changes are saved to disk immediately. For example, if you delete a file from an archive, Archive Manager deletes the file as soon as you click OK. This behavior is different to that of most applications, which save the changes to disk only when you quit the application or select Save in the menu.

Ако някой архив е много голям или имате бавна система, някои действия по архивите могат да отнемат значително време. За да прекратите текущото действие, натиснете Esc. Друг начин е да изберете Изглед ▸ Спиране или да натиснете Спиране от лентата с инструменти.

In Archive Manager, you can perform the same action in several ways. For example, you can open an archive in the following ways:

Компонент от интерфейса Действие
Прозорец Drag an archive into the Archive Manager window from another application such as a file manager.
Лента с менюта

Изберете Архив ▸ Отваряне.

If you have recently opened the archive, it will be listed directly in the Archive menu.

Лента с инструменти

Натиснете бутона Отваряне на лентата с инструменти

If you have recently opened the archive, click on the down arrow near the Open toolbar button.

Изскачащо меню Натиснете с десния бутон на мишката върху архива, после изберете Отваряне от появилото се меню.
Бързи клавиши Натиснете Ctrl+O.

Това ръководство описва функционалността от лентата с менюта.

3.1. Шаблони на файлови имена

Archive Manager enables you to add, extract, or delete several files at once. To apply an action to all files that match a certain pattern, enter the pattern in the text box. The pattern can include standard wildcard symbols such as * to match any string, and ? to match any single symbol. You can enter several patterns separated by semicolons. Archive Manager applies the action to all files that match at least one of the patterns. The examples in the following table show how to use filename patterns to select files.

Шаблон Отговарящи файлове
* Всички файлове
*.tar* Всички файлове с разширение tar, включително тези, при които tar е последвано от каквато и да е поредица от символи, като например filename.tar.gz
*.jpg; *.jpeg Всички файлове с разширение jpg и всички файлове с разширение jpeg
file?.gz All files with extension gz that have the name "file" followed by any single character, e.g. file2.gz, filex.gz.

3.2. Отваряне на архив

За да отворите архив, следвайте следните стъпки:

  1. Choose Archive ▸ Open to display the Open dialog. Alternatively press Ctrl+O, or click Open in the toolbar.
  2. Изберете архива, който искате да отворите.
  3. Натиснете Отваряне.

Archive Manager automatically determines the archive type, and displays:

  • Името на архива в заглавната лента на прозореца
  • Съдържанието на архива в района на преглед
  • The number files and folders (objects) in the current location, and their size when uncompressed, in the statusbar

To open another archive, choose Archive ▸ Open again. Archive Manager opens each archive in a new window. You can't open another archive in the same window.

If you try to open an archive that was created in a format that Archive Manager does not recognize, the application displays an error message. See Дял 1 ― Въведение for a list of supported formats.

3.3. Избиране на файлове в архив

To select all files in an archive, choose Edit ▸ Select All or press Ctrl+A.

To deselect all files in an archive, choose Edit ▸ Deselect All or press Shift+Ctrl+A.

3.4. Разархивиране на файлове от архив

За да разархивирате файлове от отворен архив, следвайте следните стъпки:

  1. Select the files that you want to extract. To select more files, press-and-hold Ctrl and click on the files you want to select.

  2. Choose Archive ▸ Extract to display the Extract dialog. Alternatively click Extract in the toolbar.

  3. Select the folder where Archive Manager extracts the files.

  4. Изберете нужните разархивиращи опции. За повече информация относно тях, вижте Дял 11 ― Опции на разархивирането.

  5. Натиснете Разархивиране.

    If all of the files in the archive are protected by a password, and you have not specified it, Archive Manager asks you to enter the password.

    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 extracts only the unprotected files.

    За повече информация относно паролите, вижте Дял 5.1 ― Криптиране на файлове в архив.

Archive Manager also provides ways of extracting files from an archive in a file manager window, without opening a Archive Manager window. See Дял 8 ― Използване на файловия мениджър, за да работите с архив for more information.

Операцията по разархивирането извлича копие на определените файлове от архива. Разархивираните файлове имат същите права и дата на промяна, както и оригиналните файлове от архива.

The Extract operation does not change the contents of the archive. For information on how to delete files from an archive, see Дял 5.5 ― Изтриване на файлове от архив.

3.5. Затваряне на архив

To close the current archive and the current Archive Manager window, choose Archive ▸ Close, or press Ctrl+W.

There is no way to close the current archive but not the Archive Manager window.