ADSM-L

Re: Prepare File Housekeeping

2003-04-14 09:28:42
Subject: Re: Prepare File Housekeeping
From: Matt Simpson <matt AT UKY DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 14 Apr 2003 09:28:11 -0400
At 2:33 PM -0400 4/11/03, Dameon White wrote:
Does anyone have a shell script that deletes old Prepare
Plan files after they have been expired?

#!/bin/sh

#
# this cleans up old TSM disaster recovery scripts and moves
# a set to another machine.
#

date
cd /opt/tivoli/tsm/server/drm/recplans

#
# only keep a weeks worth of old copies
#
find . ! \( -name \*.awk \) -type f -mtime +6 -print -exec rm {} \;

--


Matt Simpson --  OS/390 Support
219 McVey Hall  -- (859) 257-2900 x300
University Of Kentucky, Lexington, KY 40506
<mailto:matt AT uky DOT edu>
mainframe --   An obsolete device still used by thousands of obsolete
companies serving billions of obsolete customers and making huge obsolete
profits for their obsolete shareholders.  And this year's run twice as fast
as last year's.

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