Re: [Q] need script which can check day and copy files to other location???
From: Dave Hinz (DaveHinz_at_spamcop.net)
Date: 12/20/04
- Next message: Wolfgang Gräper: "Re: Job Schedulers (preferably Open Source)"
- Previous message: aaa: "[Q] need script which can check day and copy files to other location???"
- In reply to: aaa: "[Q] need script which can check day and copy files to other location???"
- Next in thread: Robert Harris: "Re: [Q] need script which can check day and copy files to other location???"
- Reply: Robert Harris: "Re: [Q] need script which can check day and copy files to other location???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Dec 2004 20:48:31 GMT
On 20 Dec 2004 10:51:33 -0800, aaa <mccdba@yahoo.com> wrote:
> We have application every day will create bunch of files under a directory (e.g.
> /apps/report). Does any one has script can do following:
>
> 1. read system date (today)
man date
> 2. check files under directory (e.g. /apps/report) which create Yesterday
man find
> 3. copy files to other location (e.g. /apps/backup)
man cp
Seriously, this is like a 6-line script. Nobody there scripts?
- Next message: Wolfgang Gräper: "Re: Job Schedulers (preferably Open Source)"
- Previous message: aaa: "[Q] need script which can check day and copy files to other location???"
- In reply to: aaa: "[Q] need script which can check day and copy files to other location???"
- Next in thread: Robert Harris: "Re: [Q] need script which can check day and copy files to other location???"
- Reply: Robert Harris: "Re: [Q] need script which can check day and copy files to other location???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]