|
But how to delete all the directories in /tmp/test without deleting test? The problem is with Infoprint server (no exit pgm), the risult is: /Pdf <-- Pdf home dir /Pdf/B000000123 <-- Job dir /Pdf/B000000123/User <-- User dir /Pdf/B000000123/User/File1.pdf <-- Usable pdf /Pdf/B000000123/User/File2.pdf <-- Usable pdf /Pdf/B000006666 <-- Job dir /Pdf/B000006666/User <-- User dir /Pdf/B000006666/User/File1.pdf <-- Usable pdf /Pdf/B000006666/User/File2.pdf <-- Usable pdf when I try to delete Bnnnnnnnnn I've got a CPFA0AC, if I delete all the object starting from the bottom it's working but.... Marco --- James Rich <james@xxxxxxxxxxx> wrote: > On Thu, 27 May 2004, James H H Lampert wrote: > > > Does anybody know of a quick and easy way to delete an > entire subtree in > > the IFS? I tried setting up a test directory, then > doing a RMDIR <dirname> > > UNLINK(*YES), but it didn't work. (It didn't even work > on a subdirectory > > of my test directory, that only contains a single > file). > > supposing that the directory you want to delete is called > /tmp/test (which > may have many subdirectories below test), then in qshell > do: > > cd /tmp > rm -r test > > James Rich __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.