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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.