The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: ZIP Problem
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-17-2008
Arunprasad Arunprasad is offline
Registered User
  
 

Join Date: Aug 2008
Location: syn chen
Posts: 73
Post ZIP Problem

Hi Folks,

i have a script to zip certain files. redirecting the successfully zipped files and unsuccessful files to seperate files.

i found unzipped file name in zipped file list.
i dont know why it happened.
and, some of the files are not zipped.

i checked the previllege also, even without execution permission it is possible to zip, but some files are missing to process. i need your suggestions here. and need some more clarifications...

here are my concerns?
1> if the file was created by some other user, i am trying to zip that when the user is currently working(opened) in that file. will zip work in this case?
2> is there any difference in gzip and compress command?
3> is possible to protect the file from any other operations by any other users. if this possible what is the way to zip that file.

its very severe issue could you please guide me in a way to catch the exact point.

Thanks.