![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please write this script for me | nadman123 | Shell Programming and Scripting | 1 | 04-08-2008 10:30 PM |
| Help me to write the script | gyana_cboy | Shell Programming and Scripting | 5 | 10-05-2007 02:19 AM |
| How to write script for this ? | me_haroon | AIX | 0 | 07-01-2006 06:30 AM |
| need help to write shell script | getdpg | Shell Programming and Scripting | 0 | 04-10-2006 10:30 AM |
| Help! Need to write my first script | fundidor | Shell Programming and Scripting | 5 | 01-08-2004 10:20 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to write script in tar
i have the script.in this script comprees formatlike tar and insert to another directory and another sever.and how to write this process in script .
iam new for unix how to do this process. please helpmea naveen.g |
|
||||
|
As far as I do understand you, you want to write a script which does the following on the fly:
1) compress a directory like tar would 2) instead of writing the tar file to disk, you want to "stream" it to another server 3) there you want to unpack it The following should do this: (cd /source/dir && tar czf - .) | ssh login@server.tld "cd /target/dir/ && tar xzf -" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|