HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ark — KDE's archiving tool. More information: <https://docs.kde.org/stable_kf6/en/ark/ark/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandarchivingarkcliinformationtoolkdemore
linux

Problem

How to use the ark command: KDE's archiving tool. More information: <https://docs.kde.org/stable_kf6/en/ark/ark/>.

Solution

ark — KDE's archiving tool. More information: <https://docs.kde.org/stable_kf6/en/ark/ark/>.

Extract a specific archive into the current directory:
ark {{[-b|--batch]}} {{path/to/archive}}


Extract an archive into a specific directory:
ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}


Create an archive if it does not exist and add specific files to it:
ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}

Code Snippets

Extract a specific archive into the current directory

ark {{[-b|--batch]}} {{path/to/archive}}

Extract an archive into a specific directory

ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}

Create an archive if it does not exist and add specific files to it

ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}

Context

tldr-pages: linux/ark

Revisions (0)

No revisions yet.