Hi Experts!!
I was creating a zip file in a server which had zip installed in it. I have another server in which zip is not there and i am instructed to make use of gzip to compress files. I would need your help to know the way to create a gzip file.
1) I do the following to create the zip file in my server 1
a) First, i am finding the files that are actually symbolic links
b) Then zip the files to a zip file called files.zip
find . -type l |zip -@r files.zip >$tprefix.ziprun 2>&1
I would like to do the same in my server 2, which makes use of gzip alone.
2) Also, how can we make use of gzip to read the filenames to be zipped from a file x. To make it easier to understand, say abc.txt would contain the files that should be gzipped. Do we have any specific options in gzip that would create the gzip based on the filenames in abc.txt.
Please let me know if you would need any more information. Request all your help..
Thanks in advance