|
I am trying to delete all the files AND directories older than 30 days below
this path /edi4xxpgm/network/ix/ini but only got the files not the
directories. Error on directory not empty. What have I got wrong?
QSH
find /edi4xxpgm/network/ix/ini -mtime +30 -exec rm -d {} \;
And, what does the {} mean?
---
Doug Hart
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.