niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Solaris
how to transfer
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
victorfeng1973@yahoo.com
*nix forums beginner


Joined: 26 Oct 2005
Posts: 33

PostPosted: Fri Jul 21, 2006 2:10 pm    Post subject: Re: how to transfer Reply with quote

feng@host2> tar cpf - | gzip | ssh host1 cat \>/home/feng/fengwork.tgz
tar: Missing filenames
Password:

Then gunzip the fengwork.tgz in host1, the tar file size is 0. Do I
miss something?

Thank you,
Victor
Back to top
aryzhov@spasu.net
*nix forums addict


Joined: 17 Feb 2005
Posts: 64

PostPosted: Fri Jul 21, 2006 9:37 am    Post subject: Re: how to transfer Reply with quote

Quote:

may be "scp" is better ?


Can you build a compressed tar file on remote side
out of a local directory tree, in one command line, using SCP only?
I don't use SCP much, but doubt it has both TAR and GZIP functionality.
And as I mentioned in another post, looking at SCP and SFTP just as
wrappers for SSH saves me alot of headache.
Back to top
Anatoly Y.
*nix forums beginner


Joined: 05 Jul 2005
Posts: 6

PostPosted: Fri Jul 21, 2006 8:50 am    Post subject: Re: how to transfer Reply with quote

aryzhov@spasu.net wrote:
Quote:

Linda NY wrote:


Or how can I tar and transfer it over the net to another machine?


cd $BIG_DIRECTORY
tar cpf - | gzip | ssh $REMOTE_HOST cat \>/path/to/archive_file.tgz

may be "scp" is better ?


--
Anatoly Y. | TSUNet | phone: +7 (3822) 529696
Back to top
aryzhov@spasu.net
*nix forums addict


Joined: 17 Feb 2005
Posts: 64

PostPosted: Fri Jul 21, 2006 7:11 am    Post subject: Re: how to transfer Reply with quote

Linda NY wrote:

Quote:

Or how can I tar and transfer it over the net to another machine?


cd $BIG_DIRECTORY
tar cpf - | gzip | ssh $REMOTE_HOST cat \>/path/to/archive_file.tgz
Back to top
Linda NY
*nix forums beginner


Joined: 21 Jul 2006
Posts: 1

PostPosted: Fri Jul 21, 2006 5:30 am    Post subject: how to transfer Reply with quote

Hello,

I have a 20 Gid directory. I have to mount point in the first I have 6 gig
free space and the 2nd I have 17 gig how can I compress this file into 2nd
mount point?

Or how can I tar and transfer it over the net to another machine?

thankx for the help
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 7:56 am | All times are GMT
navigation Forum index » *nix » Solaris
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts need wget binary transfer mode victorfeng1973@yahoo.com Solaris 7 Thu Jul 20, 2006 9:03 pm
No new posts Transfer Maintainership From MIA Maintainer Jason Self devel 4 Sun Jul 02, 2006 8:30 am
No new posts Disallow "HTTP chunked" transfer ! lazypig06@gmail.com PHP 2 Thu Jun 22, 2006 4:53 pm
No new posts Transfer slow mail to another server Matt Standish Postfix 2 Mon Jun 19, 2006 7:03 pm

Myspace Comments | Facebook Proxy | MPAA | Loans | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1490s ][ Queries: 20 (0.0684s) ][ GZIP on - Debug on ]