ADSM-L

Scripting Delete files after Archive by a Relative Date

2004-05-20 16:40:27
Subject: Scripting Delete files after Archive by a Relative Date
From: Renee Davis <rdavis AT UH DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 20 May 2004 15:39:06 -0500
I have a user that wishes to run a batch job that archives a certain
directory and deletes the files afterwards. In selecting the files to be
archived and deleted, he wants to use  a relative date  (like -deletefile
-fromdate=today-5) since this is a script and he does not wish to have to
modify the date every time. Any ideas how to accomplish this would be
helpful and also, does anyone know if the -fromdate -todate options accept
relative dates?
--
Renee Davis
University of Houston

<Prev in Thread] Current Thread [Next in Thread>