'rm' Can not delete files

David Brodbeck gull at gull.us
Wed Feb 8 18:02:50 UTC 2012


2012/2/7 Ingo Hofmann <ingo.hofmann at dont-panic.org>:
> What helps me sometimes is wrapping it up:
>
> for i in *; do rm $i; done

Won't that just expand the * and result in the same problem?  It seems
like you've just moved the problem from the rm statement to the for
statement.


More information about the freebsd-questions mailing list