Sponsored Content
Top Forums Programming Aria2c to download and extract. tar.bz2 Post 302982417 by Corona688 on Wednesday 28th of September 2016 06:36:19 PM
Old 09-28-2016
Try that, yes.
This User Gave Thanks to Corona688 For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

extracting from tar.bz2

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)
Discussion started by: Raom
1 Replies

2. Shell Programming and Scripting

compare two tar.bz2

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)
Discussion started by: JCR
2 Replies

3. Shell Programming and Scripting

How to unpack and install .tar.bz2 library ?

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)
Discussion started by: jack2
3 Replies

4. Shell Programming and Scripting

Put one tar.bz2 file to another tar.bz2

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)
Discussion started by: yanglei_fage
1 Replies

5. UNIX and Linux Applications

Download firefox-19.0.2.tar.bz2

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)
Discussion started by: cokedude
2 Replies

6. Ubuntu

Error messages while extracting tar.bz2 in Ubuntu

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)
Discussion started by: saravana krishn
4 Replies

7. Programming

Aria2c will not exit after sucessful download

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)
Discussion started by: cmccabe
0 Replies

8. Shell Programming and Scripting

Bash not removing all .tar.bz2 files after extracting

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)
Discussion started by: cmccabe
3 Replies

9. Shell Programming and Scripting

Speed up extraction od tar.bz2 files using bash

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
SERVEFILE(1)							   User Commands						      SERVEFILE(1)

NAME
servefile - small HTTP-Server for temporary file transfer SYNOPSIS
servefile [-h] [--version] [-p PORT] [-u] [-s MAX_UPLOAD_SIZE] [-l] [--ssl] [--key KEY] [--cert CERT] [-a user:password] file/directory DISCLAIMER
Do not use this as a normal web server. This server is optimized for running a short time and to send files to other people, not for doing high-performance static file serving. DESCRIPTION
Servefile is a small HTTP-server intended for temporary file transfer mostly in the local network. It aims to make transferring single files as painless as possible and to replace tar/netcat solutions. With just a file as argument servefile serves just that one file and redirects all HTTP requests to that file. Uploads can be done with curl, wget (see EXAMPLES) or a normal browser. In upload mode with -u servefile creates a directory and saves all uploaded files into that directory. When uploading with curl or wget the filename is extracted from the path part of the url used for the upload. For SSL support python-openssl (pyssl) needs to be installed. If no key and cert is given, servefile will generate a key pair for you and display its fingerprint. In --tar mode the given file or directory will be packed on (each) request and piped to the client through the HTTP connection, thus serv- ing always the latest content of the directory and preventing temporary file creaton. Tar files will be created containing only the lowest directory name from the full path, so using /path/to/dir/ as file/directory argument will create a tar file starting with the dir/ direc- tory. When giving a file as argument, only the file without any path will be in the tarfile. Symlinks will not be dereferenced. COMMAND SUMMARY
positional arguments: file/directory file or directory (with -l or -u) which should be served or uploaded to optional arguments: -h, --help Show a help message and exit --version Show program's version number and exit -p PORT, --port PORT Port to listen on -u, --upload Enable uploads to a given directory -s MAX_UPLOAD_SIZE, --max-upload-size MAX_UPLOAD_SIZE Limit upload size in kB. Size modifiers are allowed, e.g. 2G, 12MB, 1B. -l, --list-dir Show directory indexes and allow access to all subdirectories --ssl Enable SSL. If no key/cert is specified one will be generated. --key KEY Key file to use for SSL. If no cert is given with --cert the key file will also be searched for a cert --cert CERT Certfile to use for SSL -a user:password, --auth user:password Set user and password for HTTP basic authentication --realm REALM Set a realm for HTTP basic authentication. This is an arbitrary string which is displayed when doing HTTP basic authentication -t, --tar Enable on the fly tar creation for given file or directory. Note: Download continuation will not be available. -c method, --compression method Set compression method, only in combination with --tar. Can be one of none, gzip, bzip2. -4, --ipv4-only Listen on IPv4 only -6, --ipv6-only Listen on IPv6 only EXAMPLES
Serving a single file with SSL and HTTP Basic auth: servefile --ssl --auth foo:bar the_file Enabling uploads to a directory: servefile -u dir/ Uploading file foo as bar to servefile via command line: curl -X PUT http://ip:port/bar --data-binary @foo curl -X POST http://ip:port/bar --data-binary @foo wget http://ip:port/bar --post-file=foo Serving a on the fly generated tar.gz file of a directory: servefile --tar -c gzip path/to/dir AUTHOR
servefile is developed by Sebastian Lohff <seba@someserver.de> servefile 0.4.2 April 2012 SERVEFILE(1)
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy