unixisgood
Technical User
Hi all,
I have already use commands in a script in order as below.
tar -cf /dsk1/trash.tar /disk3/trash
compress /disk1/trash.tar
rcp -r /disk1/trash.tar.Z host2:/disk3
But it takes quite long time
Is there a way to put them together to make them run in same time to save time.?
I know how to extract it quickly by `uncompress -c /disk3/trash.tar.Z|tar -xvf - ` but i need also a quick way to compress and send to other host.
Regards
I have already use commands in a script in order as below.
tar -cf /dsk1/trash.tar /disk3/trash
compress /disk1/trash.tar
rcp -r /disk1/trash.tar.Z host2:/disk3
But it takes quite long time
Is there a way to put them together to make them run in same time to save time.?
I know how to extract it quickly by `uncompress -c /disk3/trash.tar.Z|tar -xvf - ` but i need also a quick way to compress and send to other host.
Regards