Re: [Q] need script which can check day and copy files to other
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Re: [Q] need script which can check day and copy files to other




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: [Q] need script which can check day and copy files to other  
Robert Harris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-20-04 10:50 PM

Dave Hinz wrote:
> On 20 Dec 2004 10:51:33 -0800, aaa <mccdba@yahoo.com> wrote:
> 
>
>
> man date
>
> 
>
>
> man find
>
> 
>
>
> man cp
>
> Seriously, this is like a 6-line script.  Nobody there scripts?
>
Seriously, this is a 1-line script, e.g.

find /apps/report -type f -ctime 1 | xargs cp /apps/backup

although "Yesterday" probably needs refining as a definition.

Robert





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register