I didn't see anyone mention you can use switch -L to follow symbolic links.
find -L /var/tmp -type f
As seen from v7r5 with /QOpenSys/usr/bin/find
/QOpenSys/usr/bin/find -> ../../QIBM/ProdData/OS400/PASE/bin/find
--
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Don Brown via MIDRANGE-L
Sent: Saturday, October 21, 2023 12:38 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Don Brown <DBrown@xxxxxxxxxx>
Subject: deleting IFS files
I am obviously missing something ...
if I strqsh and run
find /home -type f
I see a long list of files
But if I do the same on
find /var/tmp -type f
I see nothing
Or just
find /var/tmp
I still see nothing
But there are thousands of files in /var/tmp
Example
Object link Type
QACXAAJG80 STMF
QACXAAKPCF STMF
QACXAALWZ5 STMF
QACXAAM1LV STMF
QACXAAM3B3 STMF
I actually want to delete these but the delete was not working using the
find command so I was trying to determine why and then found that the
files were not being selected.
I can manually delete a single file from wrklnk.
Can anyone suggest what I am missing please.
Thanks
Don
Don Brown
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.