I am using aria2c to download a .tar.bz2 and trying to extract it in the same command. I can download the file but not extract it. I can also manually extract the tar.bz2., but not in the same command. Thank you .
---------- Post updated at 05:12 PM ---------- Previous update was at 05:12 PM ----------
hi
could any body tell me how to extract .tar.bz2 files
i tried using tar but in vain.
i found bzip2 in googling but i could not find it on machine unix tru64
please suggest. (1 Reply)
Hello,
I am using a bash script to archive directories of text files located in ${root}:
tar cf ${root}.tar ${root}*
bzip2 ${root}.tar
I'd like to compare the newly produced archive two.tar.bz2 with the second latest one.tar.bz2.
cmp one.tar.bz2 two.tar.bz2
returns
one.tar.bz2 two.tar.bz2... (2 Replies)
Hi,
I am trying to unpack and install .tar.bz2 library.
I was told to cd /
and than tar -jxvf /source-of-library-file?...tar.bz2
to get files unpacked and installed into /
Darius
$ pwd
/
$
$ tar -jxvf /tmp/local/root/ncurses-dev-addon.tar.bz2
ncurses-dev-addon/... (3 Replies)
Hi experts,
I have two tar.bz2 file,:
a.tar.bz2 and b.tar.bz2
I want to put a.tar.bz2 in to b.tar.bz2
eg: b.tar.bz2 only have one file named "b.c" contained
I want it contain "b.c and a.tar.bz2"
I don't want to decompress the b.tar.bz2 to achieve this, I try with "cat a.tar.bz2 >>... (1 Reply)
Does anyone know a reliable source to download firefox-19.0.2.tar.bz2 from? I would think you be able to download from firefox or mozilla somewhere. I haven't gotten anything useful from my google searches. (2 Replies)
while extracting a tar.bz2 file using the command
tar xjf git.tar.bz2
I received error messages that shows Cannot hard link to and Cannot create symlink to error messages
what will be the reason for those error messages. (4 Replies)
I am using the below aria2c command to call an API that downloads a file to a directory. Though the process completes and I get "download complete"... aria2c does not exit to the command line, I have to hit enter to get the command line. I am not sure what is wrong. Am I missing something in... (0 Replies)
In the bash below each .tar.bz2 (usually 2) are extracted and then the original .tar.bz2 is removed. However, only one (presumably the first extracted) is being removed, however both are extracted. I am not sure why this is? Thank you :).
tar.bz2 folders in /home/cmccabe/Desktop/NGS/API
... (3 Replies)
The below bash will untar each tar.bz2 folder in the directory, then remove the tar.bz2.
Each of the tar.bz2 folders ranges from 40-75GB and currently takes ~2 hours to extract. Is there a way to speed up the extraction process?
I am using a xeon processor with 12 cores. Thank you :).
... (7 Replies)
Discussion started by: cmccabe
7 Replies
LEARN ABOUT REDHAT
ark
ARK(1) KDE User's Manual ARK(1)NAME
ark - KDE archiving tool
SYNOPSIS
ark [-b] [-a] [-e] [-c] [-f suffix] [-p] [-t file] [-d] [-o directory] [KDE Generic Options] [Qt(TM) Generic Options]
DESCRIPTION
Ark is a program for managing various compressed file formats within KDE. Archives can be viewed, extracted, created and modified with Ark.
The program can handle various formats such as tar, gzip, bzip2, zip, rar (when the appropriate libraries or command-line programs are
installed).
OPERATION MODES
Ark can be used either as a stand-alone GUI program as well as a command-line program in order to perform some specific tasks.
If invoked without the -b (--batch) or -c (--add) options, Ark is started as a normal GUI program.
When the -b (--batch) option is used, Ark can be used to extract the contents of one or more files directly from the command-line, without
launching its GUI.
When the -c (--add) option is used, Ark prompts for files that should be added to a new archive or to an existing archive.
OPTIONS -d, --dialog
Show a dialog for specifying the options for a batch or add operation.
-o, --destination directory
Default the extraction directory to directory. If not passed, the current path is used.
Options for adding files
-c, --add
Query the user for an archive filename and add specified files to it. Quit when finished.
-t, --add-to filename
Add the specified files to filename. Create archive if it does not exist. Quit when finished.
-p, --changetofirstpath
Change the current directory to the first entry and add all other entries relative to this one.
-f, --autofilename suffix
Automatically choose a filename, with the selected suffix (for example rar, tar.gz, zip or any other supported types).
Options for batch extraction
b, --batch
Use the batch interface instead of the usual dialog. This option is implied if more than one url is specified.
-e, --autodestination
The destination argument will be set to the path of the first file supplied.
-a, --autosubfolder
Archive contents will be read, and if detected to not be a single folder archive, a subfolder by the name of the archive will be
created.
EXAMPLES
ark --batch archive.tar.bz2
Will extract archive.tar.bz2 into the current directory without showing any GUI.
ark -b -d archive.tar.bz2 archive2.zip
Will first show an extraction options dialog and then extract both archive.tar.bz2 and archive2.zip into the directory chosen in the
dialog.
ark --add-to my-archive.zip photo1.jpg text.txt
Will create my-archive.zip if does not exist and then add photo1.jpg and text.txt to it.
AUTHORS
Ark is currently maintained by Harald Hvaal haraldhv@stud.ntnu.no and Raphael Kubo da Costa kubito@gmail.com.
This man page was first written by Lauri Watts lauri@kde.org in 2005 for KDE 3.4, and was later updated in 2009 by Raphael Kubo da Costa
kubito@gmail.com.
AUTHORS
Lauri Watts <lauri@kde.org>
Author.
Raphael Kubo da Costa <kubito@gmail.com>
Author.
K Desktop Environment 2.13 (KD 2009-09-10 ARK(1)