[HPADM] script

From: Hutchins, Greg (ghutchins2@selfregional.org)
Date: Tue Aug 10 2004 - 15:44:59 EDT


Hi all! Looking for a script to find files and move them if they were
created before 2004. I used find ./PMAB1* -atime +221 -xargs -I {} mv.
I wanted to know if there is a simpler way to compare dates without
having to calculate the 221 days manually. Thanks for any help

 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:42 EDT