Appreciate the offer, but that is a bit of work and perhaps I'll take a stab at it. Its not to difficult to do via the Finder, but was just rying to save myself some time. I think that is insane that rm behaves this way, it makes no sense to not have the ability to do this. I of course actually could use Terminal, change to each of the directories, and issue the same command which will accomplish the same task. So, much for being efficient. grin

Scott
[EMAIL PROTECTED]



On Jul 1, 2006, at 11:02 AM, Travis Siegel wrote:

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