|
If you must delete stuff from the IFS manually, then QShell can easily delete a directory recursively:
STRQSH CMD('rm -rf /path/to/dir')However, be very careful, since there are parts of the operating system that are stored in the /QDLS and / (root) filesystems of the IFS. Also, the IFS provides access to other computer's drives (Windows networking, NFS, QFileSvr.400, etc) and it also provides an alternative way to access your traditional libraries and objects. So use discretion about what you delete!
It's far simpler and quicker to reinstall the LIC, using the option that wipes out the drives first, and then re-install the operating system. That way, you'll have a usable system, and you know you'll have nothing on it except the operating system itself.
Rich Loeber wrote:
Is there any easy way to clear out files from the IFS when all you have available to you is the OS/400 command line? I'm cleaning off my old model 250 before decomissioning it and using the WRKLNK, DEL and RMVDIR commands is quite tedious. Am I missing something?
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.