I'd like to remove all directories from the pwd but leave the files in the pwd alone. If the content of my pwd is:
mydir1 mydir2 myfile1 myfile2
then I'd like to be left with just
I assume that I need to use
rm -r -i
Am I correct?