Scott.
For some odd reason, there appears to be no option with the rm command to delete all files in recursive directories. Kind of odd that, since both linux and bsd do have this option. However, if you want to remove a whole set of directories, and not just selected files, you can always move the folder to the ~/.trash folder, then do the empty trash command to eliminate them. If you're looking at eliminating selected files though, I can't help with that (yet) However, I did write a unix script some years ago that traversed an entire directory tree searching for particular filenames. It used the find command, and ran on AIX who's find command does not on it's own search directory trees. I could try reconstructing the script only make it use rm instead of find. If I can ever get my old linux drives operational again, I'd have a copy of the script, since I always backed up everything on those drives. But it shouldn't be too difficult to rewrite it. Let me know if you're interested, and I'll tackle it as time permits.

Reply via email to