Why not use the Remove Link command?  Example:  RMVLNK  '/Notes/Data/*.DTF
Tony Dezanet 
Staff Software Engineer
IBM Software Group, Lotus
Internet Address: adezanet@xxxxxxxxxx 
Technical Support Line: 1.800.426.7378
 
 
 
 
From:
rob@xxxxxxxxx
To:
Date:
02/09/2011 10:45 AM
Subject:
qsh find searching for multiple files in multiple directories.
Scenario:
Domino shop.
WRKDOMSVR shows multiple servers.
Hitting F11 a few times may show:
Path 
/ARCHIVE1/NOTES/DATA 
/GDDATA/NOTES/DATA 
/GDSHELP/NOTES/DATA 
/GDSSALES/NOTES/DATA 
/Domino/LDAP01/DATA 
/LEISERVE/NOTES/DATA 
/notes01/notes/data 
/QUALITY/NOTES/DATA 
/SAMETIME01/NOTES/DATA
I've brought the servers down.  Now I want to find all .DTF or .TMP files 
in those directories.
I've played around with QSH and find a little.  If I do a 
qsh
cd /archive1
find . -name *.DTF
I will find any .DTF file in any of the subdirectories underneath 
/archive1.  The i does not support -iname to ignore case.
Best case scenario:  Once I get comfortable with this I would like to use 
the qsh rm command to delete these.
Periodic maintenance would drop the servers, process the list of servers 
on the machine via the appropriate Domino api, and delete these.
I am already using some of the Domino API's available below for other 
purposes:
http://www-03.ibm.com/systems/i/software/domino/devtools/dominoapi/dominoapi.html
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.