Sponsored Content
Operating Systems HP-UX HP-UNIX How to zip/compress files in a folder? Post 302964872 by vbe on Wednesday 20th of January 2016 10:37:06 AM
Old 01-20-2016
My concern is what method will you be using to transfer such file after... If I believe what you are saying we might end with a unique file of (X)XX GB, do you intend sending this via network???
The last option not mentionned yet is using fbackup... my preference would be follwing Peasant's solution... as I have no morean HP-UX to test...

Remember also that you can use pipes...between servers... and so archive on one side and unarchive on the remote host
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Compress and copy a Folder

hi Buddies , How can i Compress and move a folder through UNIX completely to windows 2000 through FTP. (1 Reply)
Discussion started by: scorpiyanz
1 Replies

2. UNIX Desktop Questions & Answers

file zip,rar,tar,compress,uncompress,unzip,unrar

i want know how to compress and uncompress file using unix, compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies

3. Windows & DOS: Issues & Discussions

How can I upload a zip folder on a unix path from my windows folder?

Hello, I am an amature at UNIX commands and functionality. Please could you all assist me by replying to my below mentioned querry : How can I upload a zip folder on a unix path from my windows folder? Thanks guys Cheers (2 Replies)
Discussion started by: ajit.yadav83
2 Replies

4. UNIX for Dummies Questions & Answers

Zip command (zip folder doesn't include a folder of the same name)

Hi guys, I have a question about the zip command. Right now I have a directory with some files and folders on it that I want to compress. When I run the zip command: zip foo -r I am getting a foo.zip file that once I unzip it contains a foo folder. I want to create the foo.zip, but that... (1 Reply)
Discussion started by: elioncho
1 Replies

5. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

6. UNIX for Advanced & Expert Users

UNIX: Command to compress folder and all files into a tar

I am trying to grab a folder and all the folders and files underneath it and send it from one computer to another. I basically want to compress the whole folder into a tar, tgz, or zip file so that it can be sent as one file. is there a command to compress a folder and all its contents into a tar... (7 Replies)
Discussion started by: kane4355
7 Replies

7. Shell Programming and Scripting

compress folder

hi guys, i've read that i need to use tar first before gzip. just wanted to be sure if there's no way of compressing a folder with all its files like winzip in windows? using tar then gzip in unix, i will need to open 2 zip files in order to get the files unlike winzip. i'd appreciate any... (2 Replies)
Discussion started by: adshocker
2 Replies

8. Shell Programming and Scripting

Need to Zip files three years old or longer but leave folder structure intact

Hi all, Hello everyone, my first post here :). I tried to search the forum but I didn't find exactly what I was looking for... I need to zip/tar files across entire filesystem which are more 3+ years old but leave folder structure intact. If the script locates tar/zip files they are more... (1 Reply)
Discussion started by: sashruby
1 Replies

9. Shell Programming and Scripting

Checking for zip / compress to use - tips for improvement?

Hi, Just want to know if anyone can suggest if there is a "better" way of coding the if-then-else block below: ZIP="" if ] ; then ZIP=`which compress` echo "ZIP program to use = ${ZIP}" elif ] ; then ZIP=`which gzip` echo "ZIP program to use = ${ZIP}" else echo... (2 Replies)
Discussion started by: newbie_01
2 Replies

10. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies
tcpclient(1)						      General Commands Manual						      tcpclient(1)

NAME
tcpclient - create an outgoing TCP connection SYNOPSIS
tcpclient [ -46hHrRdDqQv ] [ -ilocalip ] [ -plocalport ] [ -Ttimeoutconn ] [ -llocalname ] [ -ttimeoutinfo ] [ -Iinterface ] host port pro- gram [ arg ... ] DESCRIPTION
tcpclient attempts to connect to a TCP server. If it is successful, it runs program with the given arguments, with descriptor 6 reading from the network and descriptor 7 writing to the network. The server's address is given by host and port. host may be 0, referring to the local machine, or a dotted-decimal IP address, or a host name; if a host has several IP addresses, tcpclient tries each in turn. port may be a numeric port number or a port name. tcpclient sets up several environment variables, as described in tcp-environ(5). OPTIONS
-ilocalip Use localip as the IP address for the local side of the connection; quit if localip is not available. -plocalport Use localport as the port number for the local side of the connection; quit if localport is not available. -Iinterface Use interface as the local network interface. This is only defined for IPv6 sockets and needed if you use link-local IPv6 addresses. -Ttimeoutconn Give up on the connection attempt after timeoutconn seconds. Default: 60. This timeout applies to each IP address tried. -d (Default.) Delay sending data for a fraction of a second whenever the remote host is responding slowly, to make better use of the network. -D Never delay sending data; enable TCP_NODELAY. This is appropriate for interactive connections. -q Quiet. Do not print any messages. -Q (Default.) Print error messages. -v Verbose. Print all available messages. DATA-GATHERING OPTIONS -h (Default.) Look up the remote host name for TCPREMOTEHOST. -H Do not look up the remote host name; unset TCPREMOTEHOST. -llocalname Do not look up the local host name; use localname for TCPLOCALHOST. -r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeoutinfo Give up on the TCPREMOTEINFO connection attempt after timeoutinfo seconds. Default: 26. -4 Fall back to IPv4 sockets. This is necessary for terminally broken systems like OpenBSD which will not let IPv6 sockets connect to V4-mapped IPv6 addresses. Please note that this also applies to DNS lookups, so you will have to use an DNS resolver with an IPv6 address to connect to IPv6 systems. Use DNSCACHEIP to set the DNS resolver IP dynamically. -6 Force IPv6 mode in UCSPI environment variables, even for IPv4 connections. This will set $PROTO to TCP6 and put IPv4-mapped IPv6 addresses in TCPLOCALIP and TCPREMOTEIP. SEE ALSO
date@(1), finger@(1), http@(1), mconnect(1), tcpcat(1), tcpserver(1), who@(1), tcp-environ(5) tcpclient(1)
All times are GMT -4. The time now is 08:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy