Re: FW: batch file scripting
Very nice script but I use robocopy.exe program (downloaded from the net).
- From: Yechiel Adar <adar666@xxxxxxxxxxxx>
- Date: Mon, 24 Jul 2006 19:00:31 +0200
I have a database that the user claimed that someone was deleting records.
I put the database in archive log and had to clean the old logs.
I created a directory named old and did:
robocopy d:\archive d:\old *.arc /mov /minage:2
This moved (no extra space required and is done very fast) files that
are older then 2 days with extension arc from directory archive to
Then I just did:
Why recreate what is already done?
Sweetser, Joe wrote:
From: Sweetser, Joe
Sent: Fri 7/21/2006 10:27 AM
To: spikey.mcmarbles@xxxxxxxxx; ORACLE-L
Subject: RE: batch file scripting
Usage: <script> <directory> <# days to delete files older than (?)> :-)
Other related posts: