473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Let me know the meaning of the script

Dear all,
Please let me know the meaning of the script.

Expand|Select|Wrap|Line Numbers
  1.         #zcat compressed_tarball.tar.gz | (cd /export/opt; tar xvfp -)
  2.  
Actually I was trying for a script to extract tar file, in to a
particular directory. I got this but I don't understand it.

regards
udaya
Oct 12 '07 #1
1 1665
Motoma
3,237 Expert 2GB
Dear all,
Please let me know the meaning of the script.

Expand|Select|Wrap|Line Numbers
  1.         #zcat compressed_tarball.tar.gz | (cd /export/opt; tar xvfp -)
  2.  
Actually I was trying for a script to extract tar file, in to a
particular directory. I got this but I don't understand it.

regards
udaya

If you are looking to extract a .tar.gz file to a directory, you can just do this:
Expand|Select|Wrap|Line Numbers
  1. # tar -xzvf tarball.tar.gz -C /path/to/ouput/directory/
  2.  
Oct 12 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: David Helgason | last post by:
I am embedding python on Mac OSX (jaguar + panther) using boost::python. It works like a treat, but when using a python framework with asserts compiled in, I sometimes get an assert from...
6
by: Doug Mitchell | last post by:
Dear Group, My son who is in grade 7 has *just* started going through the book "Python for the Absolute Beginner" by Michael Dawson. He and I have no programming experience. He is beginning this...
5
by: KathyB | last post by:
Hi, not sure this is the right group, but hoping someone may have experienced this. I'm passing html text as a parameter to a javascript. When it has an apostrophe in it, of course it does parse...
4
by: Aatu Koskensilta | last post by:
When processing HTML-files for various purposes, I run into a strange form action definition looking like "r/sx/*-http://somehow/somescript" In particular, the Yahoo search form uses a form...
388
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's...
41
by: Nitin Bhardwaj | last post by:
Hi all, I wanted to know whether the stack in a C program is growing upwards or downwards.So I wrote a little code to see that.Please guide me as to whether this code is correct in telling this...
37
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as...
7
by: fishomisho777 | last post by:
WHAT IS ISLAM? Can we find an explanation of the great universe? Is there any convincing interpretation of the secret of existence? We realize that no family can function properly without a...
14
by: alexandis | last post by:
I run some remote binary with php script in background. The binary creates some big files - a lot of files, they are being written 2 days, one after another, by chunks. I output window where I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.