problems with rm
scott comer <[email protected]>
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
generally, this might be a shell problem rather than an rm problem, but
here it is:
using bash on some recent version of cygwin build:
ufind -name \*.class > x
rm `cat x`
this will fail if x is too large. there is absolutely no reason for it to
fail. maybe if x
was, say, 50 meg or something. but 49k is not unreasonable.
short of fixing bash, perhaps a parameter to rm which says the following
file is
a list of files to be removed:
rm -l x
(that's dash-ell).
this would be more efficient, anyway. what i do now is horribly inefficient:
ufind -name \*.class -exec rm \{} \;
scott out