Computing.Net > Forums > Solaris > I need help with tar and ftp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

I need help with tar and ftp

Reply to Message Icon

Name: fahim_su
Date: October 4, 2003 at 23:17:16 Pacific
OS: solaris
CPU/Ram: 1
Comment:

I need help with tar, I have dir with about fifty files in it, I wana ftp this dir to another server...how can I make this dir as tar file and then what would be step to ftp to another server. Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Irish Tugagao
Date: October 5, 2003 at 13:10:35 Pacific
Reply:

man tar will always give you an answer.

for example you have a fox directory, in you shell execute:
1. tar cvf fox.tar fox
you may want to zip your file before sending over ftp.
gzip fox.tar - this will create fox.tar.gz
2. ftp <host>
3. send fox.tar.gz
4. disconnect
5. on the remote host, untar the file
6. gunzip fox.tar.gz
7. tar cvf fox.tar

HTH


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: I need help with tar and ftp

help with cron www.computing.net/answers/solaris/help-with-cron/3849.html

I can not boot from install cd www.computing.net/answers/solaris/i-can-not-boot-from-install-cd/522.html

Need help with Drive Array driver www.computing.net/answers/solaris/need-help-with-drive-array-driver-/4664.html