New answers tagged tar
Your're missing a minus sign before the -O and missed the minus argument for zip: curl -L someURL | tar xzf - -O | zip test.zip - works on my system with curl 7.26.0 tar (GNU tar) 1.26 Zip 3.0
Instead of extracting downloaded files to standard output using -O option with tar you can extract the downloaded archive with -v option. It will print the extracted filenames with their full path in standard output, pipe that to zip. Your job will be done. curl -L "http://someurl/some.tar.gz" | tar xvzf - | zip -qr /path/to/myfile.zip -@ Here file list ...
Okay got it, might have been blind... uUing --strip-components=1 does the job for me. Maybe I can help someone else with this question.
I have get to answer for this unzipping issue I used "xzvf kippo-graph-1.3.tar.gz" and it did the trick everything is fine now thank you guys for the effort
As for your code: Do not put error messages to STDOUT, there is STDERR for them. Do not forget to enclose filenames (and veriables in general) in quotes. tar xjf $1 would not work if $1 contains spaces. gunzip and bunzip2 without -k (--keep) option delete compressed file after decomressing. Are you sure you want it? GNU tar can detect compression format by ...
You can install LMMS 1.0.3 in Ubuntu 14.04 and 14.10 without difficult compilations with ppa:israeldahl/lmms-1.0.3 repository. sudo add-apt-repository ppa:israeldahl/lmms-1.0.3 sudo apt-get update sudo apt-get install lmms
Top 50 recent answers are included