From Qshell, VERY CAREFULLY navigate to the target directory. Might
want to use pwd command to make sure you are in the right place.
Then enter the command: rm *
Everything but directories will be gone.
If there are subdirectories that also need to be removed, again
CAREFULLY, verify that you are wheer tou need to be, then use this
rm -rf *
Everything will be removed at and below the current location.
On Thu, Oct 4, 2012 at 2:57 PM, Alan Shore <ashore@xxxxxxxx> wrote:
I am making a change to our system (release V5r4) where files are being loaded to a directory in the ifs, and so far (with the tremendous help of this list) I am accomplishing what I set out to do.
However, at the start of this process I need to clear out the directory of EVERYTHING.
Does anyone know how to do this?
I am assuming the Qshell is the best way to go (which may or may not be true), but it's been quite a few years since I last did ANY UNIX so the more that I delve into this, the more that I realize just how much I have forgotten (or didn't know)
Programmer/Analyst, Direct Response
"If you're going through Hell, keep going" - Winston Churchill
Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives