Ark: Difference between revisions

From KDE Wiki Sandbox
(Update screenshot)
(Update outdated content)
Line 18: Line 18:


<!--T:5-->
<!--T:5-->
* Files can be added to form the archive using the Action menu
* Files can be added to form the archive using the Archive menu
* Alternatively files can be dragged from a [[Special:myLanguage/Konqueror|'''Konqueror''']] or [[Special:myLanguage/Dolphin|'''Dolphin''']] window into the main '''Ark''' window
* Alternatively files can be dragged from a [[Special:myLanguage/Konqueror|'''Konqueror''']] or [[Special:myLanguage/Dolphin|'''Dolphin''']] window into the main '''Ark''' window
* Also on the Action menu is <menuchoice>Add Folder</menuchoice> which can pull a whole directory into the archive
* Also on the Archive menu is <menuchoice>Add Folder</menuchoice> which can pull a whole directory into the archive
* Files can be added to a saved archive at any time.
* Files can be added to a saved archive at any time.


Line 50: Line 50:
* Very often an archive will contain a README or some other instruction file.  It is often useful to be able to preview that file before starting work with the archive. Double click any file in archive will open preview.
* Very often an archive will contain a README or some other instruction file.  It is often useful to be able to preview that file before starting work with the archive. Double click any file in archive will open preview.
* It may be that one file in an archive becomes irrelevant.  The file can be deleted within the archive.
* It may be that one file in an archive becomes irrelevant.  The file can be deleted within the archive.
* In the KDE3 version it is possible to <menuchoice>Open with</menuchoice> any suitable application
* It is also possible to <menuchoice>Open with</menuchoice> any suitable application and edit the file (if the archive is not read-only).
* It is also possible, in the KDE3 version, to <menuchoice>Edit with</menuchoice> an application.
(These two features are not available in the KDE SC 4 version yet)


== External links == <!--T:13-->
== External links == <!--T:13-->

Revision as of 11:30, 15 April 2016

Ark is an application to manage archives of files

Features

Ark allows you to

  • Create a compressed archive
  • View the contents of an archive file
  • Extract the contents of an archive to a directory of your choice.

It can handle many formats, including tar, gzip, bzip2, zip, rar and 7z.

Creating an Archive

  • Files can be added to form the archive using the Archive menu
  • Alternatively files can be dragged from a Konqueror or Dolphin window into the main Ark window
  • Also on the Archive menu is Add Folder which can pull a whole directory into the archive
  • Files can be added to a saved archive at any time.

Extracting Files

This is the use that most people will meet first.

  • With a single file highlighted you will be asked whether you want to extract that one file or all files.
  • The archive remains complete and the file you selected is placed in the directory of your choice.

The way that extracting works has changed in recent versions, so may feel strange to someone recently working with KDE3. There are two ways that you can control the Extraction.

  • When viewing the archive within Ark, use Extract button on the toolbar or Ctrl-E . This gives you a navigable tree where you can select your destination.
  • When viewing the archive in Dolphin, right click on it and you will get three options:
    • Extract here, Autodetect Subfolder
    • Extract to....
    • Extract here.
  • The second option works the same as Ctrl-E within Ark.
  • The third option does exactly what it says - if no folder is defined within the archive, all the extracted files will end up in the current directory. If the archive does contain a folder, then a folder will be created under the current folder, and all files extracted into that folder.
  • The first option is similar to the third one, but when no folder is defined within the archive, Ark will create one, then all files extracted into that folder. If, for instance, your archive is called Patterns.zip and it contains all the designs, you would end up with a structure like ~/Patterns/design1 etc.

Working with Files

  • Very often an archive will contain a README or some other instruction file. It is often useful to be able to preview that file before starting work with the archive. Double click any file in archive will open preview.
  • It may be that one file in an archive becomes irrelevant. The file can be deleted within the archive.
  • It is also possible to Open with any suitable application and edit the file (if the archive is not read-only).

External links