Text File

Aucbvax.4203 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Sat Oct 3 20:01:46 1981 rm >From MathStat.jmrubin@Berkeley Sat Oct 3 02:55:21 1981 Delete, mentionned in a recent message, sounds like the -i flag on rm. If someone wants it, I have an expunge which removes all files (not directories) in a tree which begin with #.

Thus, if Mail and junque are directories, and abc/#def and abcd/ghi are files, then

expunge Mail junque abc/#def abcd/ghi

would rm Mail/inbox/#9, junque/#oldjunk, et. al., and abc/#def

The default argument (if no arguments are given) is ".". (like ls)

(The reason I use '#' instead of ',' is that is what the Rand mailing programs use around here; this, however, can be easily changed.)

Joel Rubin

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.