The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
untar & unzip brendan76 Linux 1 01-16-2008 03:50 AM
Untar problems vinothg UNIX for Dummies Questions & Answers 2 11-09-2007 01:27 AM
untar prakash96453 UNIX for Advanced & Expert Users 2 10-19-2007 01:59 AM
untar to a specified file melanie_pfefer UNIX for Dummies Questions & Answers 3 11-27-2006 02:32 PM
Urgent....untar!!! rahul26 UNIX for Advanced & Expert Users 4 06-12-2006 07:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-19-2008
jwzumwalt jwzumwalt is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 15
Untar remotely

I need to upload tar or zip files to a unix server than unzip or untar them remotely. Any suggestions on the easiest way to do the remote untar or unzip? For example does someone know of a cgi script or something?

Thanks -jz
  #2 (permalink)  
Old 03-19-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
use scp or ftp or sftp to copy the file to the remote server
  #3 (permalink)  
Old 03-19-2008
nua7 nua7 is offline
Registered User
  
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 353
ssh command can also be used.
  #4 (permalink)  
Old 03-19-2008
aspect_p aspect_p is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 13
Try...

Scp $file $servername:$path
ssh $servername 'cd $path, tar -xzf $filename'
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0