Hi!
I am trying to delete directory with the following name --@app.7 (which is autogenerated by amavis) but when I am trying to delete it with rm -rf command it gives me error : rm: unrecognized option '--@app.7'
how to delete this directory ??
Please help.
Hiten.
__________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
try, rm --help (it will help you)
rm -fr -- --@app.7 (better do this it works)
-sanjeev
On Mon, 16 Sep 2002, Hiten Desai wrote:
Hi!
I am trying to delete directory with the following name --@app.7 (which is autogenerated by amavis) but when I am trying to delete it with rm -rf command it gives me error : rm: unrecognized option '--@app.7'
how to delete this directory ??
Please help.
Hiten.
Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
Hiten, I think the only option here is to give rm * and answer no to all confirmations except that particular file.
Anil
--- Manish Jethani manishj@zycus.com wrote:
Hiten Desai wrote:
I am trying to delete directory with the following name --@app.7 (which is autogenerated by amavis) but when I am trying to delete it with rm -rf command it gives me error : rm: unrecognized option '--@app.7'
rm -rf -- --@app.7
Manish
__________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
On Tue, 17 Sep 2002, Anil Mare wrote:
I think the only option here is to give rm * and answer no to all confirmations except that particular file.
please, read the docs before suggesting something so daft. unix is over 30 years old. you'd think there were many others who came across this problem.
On Tue, 17 Sep 2002 14:02:17 +0530 (IST) Philip S Tellis philip@konark.ncst.ernet.in wrote:
On Tue, 17 Sep 2002, Anil Mare wrote:
I think the only option here is to give rm * and answer no to all confirmations except that particular file.
please, read the docs before suggesting something so daft. unix is over 30 years old. you'd think there were many others who came across this problem.
AFAIK, some systems have rm aliased to rm -i by default. Red Hat has it done for root. I think Mandrake has it for all users. (It's that way on sourceforge and sourceforge uses Mandrake, hence the not-so-solid inference).
On Tue, 17 Sep 2002, Tahir Hashmi wrote:
please, read the docs before suggesting something so daft. unix is
AFAIK, some systems have rm aliased to rm -i by default. Red Hat has
that's not what I meant. rm * is bad advice for anything.
It wud have been better if u wud have answered the members query, rather than critizing others.
--- Philip S Tellis philip@konark.ncst.ernet.in wrote:
On Tue, 17 Sep 2002, Anil Mare wrote:
I think the only option here is to give rm * and answer no to all confirmations except that particular file.
please, read the docs before suggesting something so daft. unix is over 30 years old. you'd think there were many others who came across this problem.
-- You are a bundle of energy, always on the go.
__________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
On Tue, Sep 17, 2002 at 02:59:05AM -0700, Anil Mare wrote:
It wud have been better if u wud have answered the members query, rather than critizing others.
Actually, this would apply more to you! :)
Philip did the right thing by pointing out the possible disasters with that particular "solution".
On Tue, 17 Sep 2002 01:23:27 -0700 (PDT) Anil Mare anilmare@yahoo.com wrote:
I think the only option here is to give rm * and answer no to all confirmations except that particular file.
That's not guaranteed to ask you for confirmation. You should explicitly specify the 'i' option.
rm -i *
try rm -rf ./--@app.7
Hiten Desai [linux-list] <16/09/02 21:54 -0700>:
Hi!
I am trying to delete directory with the following name --@app.7 (which is autogenerated by amavis) but when I am trying to delete it with rm -rf command it gives me error : rm: unrecognized option '--@app.7'
how to delete this directory ??
Please help.
Hiten.
Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
On Mon, 16 Sep 2002, Hiten Desai wrote:
Hi!
I am trying to delete directory with the following name --@app.7 (which is autogenerated by amavis) but when I am trying to delete it with rm -rf command it gives me error : rm: unrecognized option '--@app.7'
how to delete this directory ??
rm -rf --@app.7
or
rm -rf '--@app.7'
-Naren
On Mon, 16 Sep 2002, Naren Devaiah wrote: ^^^^^^^^^^^ <snip>
error : rm: unrecognized option '--@app.7'
how to delete this directory ??
rm -rf --@app.7 or rm -rf '--@app.7'
-Naren
I guess Naren solutions will not work. Naren have you ever tried these solutions before? Use any one of the following.
rm -rf -- --@app.7/ rm -rf -- --@aap.7/ rm -rf ./--@app.7/ rm -rf ./--@app.7/