Scripting Delete files after Archive by a Relative Date
2004-05-20 16:40:27
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>
|
- Scripting Delete files after Archive by a Relative Date,
Renee Davis <=
|
|
|