The UNIX and Linux Forums  


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




Thread: zipping files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-21-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,958
Quote:
Originally Posted by shary View Post
Dear Experts,

I need a script which will zipped the files older than 2 days.
but i dont want to use find . * -mtime 2.
Is there is any other method to achive this task.
i will ececute the script daily.

Regards,
Not specifically picking on you - and sorry if this is something offending

Why is that you don't want to use mtime - there should be some reason behind that. I hope so

If that is something shareable please do let us know about that.

Reason could be anything
1) don't like mtime
2) trying out different options
3) option not supported ( this is not obvious )
4) or any other reason

options are there to help us, ease of usage and quickly achieve what is required.

I don't understand why a specific option should not be used.