compress folder in linux.
I'm a linux newbie and I'm trying to zip a folder which exists on a remote host and export it to another remote host. A quick google search lead me to tar/gzip and rsync options but I'm not sure how exactly i could use them.
To be very clear i have logged into remote host through putty(ssh) user@remotehost1 and there is a folder, folder1 (/u01/folder1) which has other sub-folders and files underneath it. I want to gzip it and export it to another remote host user@remotehost2. How can I achieve this. Could some on clearly explain me. Thank you so much!
I'm a linux newbie and I'm trying to zip a folder which exists on a remote host and export it to another remote host. A quick google search lead me to tar/gzip and rsync options but I'm not sure how exactly i could use them.
To be very clear i have logged into remote host through putty(ssh) user@remotehost1 and there is a folder, folder1 (/u01/folder1) which has other sub-folders and files underneath it. I want to gzip it and export it to another remote host user@remotehost2. How can I achieve this. Could some on clearly explain me. Thank you so much!
No comments:
Post a Comment