Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 10:02:49 -0800
From:      David Brodbeck <gull@gull.us>
To:        freebsd-questions@freebsd.org
Subject:   Re: 'rm' Can not delete files
Message-ID:  <CAHhngE3F7PYNuOfKk1bogzpXw1pjBzhtB_6q-1gqR7=OPSh_3Q@mail.gmail.com>
In-Reply-To: <3DFDF5C0-2D39-4A88-B3B5-7D236A7FC4DA@dont-panic.org>
References:  <1237723287.20120207235924@yandex.ru> <4F31A15C.3050506@gmail.com> <3DFDF5C0-2D39-4A88-B3B5-7D236A7FC4DA@dont-panic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/2/7 Ingo Hofmann <ingo.hofmann@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHhngE3F7PYNuOfKk1bogzpXw1pjBzhtB_6q-1gqR7=OPSh_3Q>