Sponsored Content
Top Forums Shell Programming and Scripting Download and extract to a specific directory Post 302978564 by rbatte1 on Monday 1st of August 2016 10:03:23 AM
Old 08-01-2016
I would suggest that your version of tar does like it.
Quote:
Code:
tar: unrecognized option '--output'

What OS are you running?




Robin
This User Gave Thanks to rbatte1 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to download and extract files on Linux machine from internet

Hi, I am working on Linux 64 bit machine. I am trying to install one software on Linux machine. I downloaded that software from internet on my windows machine. Now in order to install software on Linux machine, I will need all downloaded files on Linux machine. How can I do that? So my... (3 Replies)
Discussion started by: palak08
3 Replies

2. UNIX for Advanced & Expert Users

allow user to use sudo cp on a specific directory and only a specific file

Is there a way to allow a user to use sudo cp on a specific directory and only a specific file? (6 Replies)
Discussion started by: cokedude
6 Replies

3. Solaris

HOW TO extract.tar file to specific directory..?

Hi all, In Solaris howto extract tar file to specific folder. This is what we do in Linux, but how to do the same thing in Solaris ? -tar -xzvf /tmp/etc.tar.bz -C /tmp (Will extract in /tmp dir) 3.gzip COMPRESSION AND EXTRACTION -tar -czvf /tmp/etc.tar.bz /etc -du ... (5 Replies)
Discussion started by: manalisharmabe
5 Replies

4. Shell Programming and Scripting

Curl download zip extract large xml file

Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run on a cron. My mac server has curl on it. So i am assuming i should be using this to download the... (3 Replies)
Discussion started by: timgolding
3 Replies

5. UNIX for Dummies Questions & Answers

Extract directory name from the full directory path in UNIX using shell scripting

My input is as below : /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt /splunk/scrubbed/triumph/ifind.triumph.txt From the above input I want to extract the file names only . Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies

6. Shell Programming and Scripting

Extract specific line in an html file starting and ending with specific pattern to a text file

Hi This is my first post and I'm just a beginner. So please be nice to me. I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file? I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
13 Replies

7. Shell Programming and Scripting

Bash to download specific files and save in two folders

I am trying to download all files from a user authentication, password protected https site, with a particular extension (.bam). The files are ~20GB each and I am not sure if the below is the best way to do it. I am also not sure how to direct the downloaded files to a folder as well as external... (7 Replies)
Discussion started by: cmccabe
7 Replies

8. Shell Programming and Scripting

Bash to tell download where specific files are stored

The bash below will download all the files in download to /home/Desktop/folder. That works great, but within /home/Desktop/folder there are several folders bam, other, and vcf, is there a way to specify by extention in the download file where to download it to? For example, all .pdf and .zip... (2 Replies)
Discussion started by: cmccabe
2 Replies

9. Programming

Aria2c to download and extract. tar.bz2

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 :). aria2c -x8 -l log.txt -c -d /xx/xx/xxx --use-head=true --http-user "<user>" ... (8 Replies)
Discussion started by: cmccabe
8 Replies

10. Shell Programming and Scripting

awk to create link, download, and extract in sub-directory

The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output. If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
get-branches(1) 					      General Commands Manual						   get-branches(1)

NAME
get-branches - downloads all branches related to a Launchpad team or person SYNOPSIS
get-branches [-d directory] [-o branch|checkout] -t team get-branches team get-branches --help DESCRIPTION
get-branches uses the LP API to get a list of branches for a person or team and calls Bazaar to download all branches. OPTIONS
Listed below are the command line options for get-branches: -h, --help Display a help message and exit. -d, --directory Download branches to a directory other than the current directory. -o, --operation Specifies which Bazaar operation to use when downloading the branches; may be either branch or checkout. -t, --team Specifies which Launchpad team/person to download branches from. This option is required. AUTHORS
get-branches was written by Daniel Holbach <daniel.holbach@ubuntu.com>, and this manual page was written by Jonathan Patrick Davies <jpds@ubuntu.com>. Both are released under the terms of the GNU General Public License, version 3. SEE ALSO
bzr(1) ubuntu-dev-tools 11 August 2008 get-branches(1)
All times are GMT -4. The time now is 02:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy