Re: rm command problem

2006-10-21 Thread Alex Zbyslaw
Jonathan Arnold wrote: DAve wrote: director# find . -inum 107763 -exec rm -i {} \; remove ./.rhosts? y Well, that was fun! I was wondering just how many different ways people could come up with deleting the file, but this one has to be crowned the winner of the all important Most Obscure

rm command problem

2006-10-20 Thread Efren Bravo
Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How can I delete it? Thanks Efren Bravo. - Fight back

Re: rm command problem

2006-10-20 Thread Bill Moran
In response to Efren Bravo [EMAIL PROTECTED]: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How

Re: rm command problem

2006-10-20 Thread Chuck Swiger
On Oct 20, 2006, at 9:21 AM, Efren Bravo wrote: Accidentally I've created a file called -exclude and now I cann't delete it. Try: rm -- -exclude -- -Chuck ___ freebsd-questions@freebsd.org mailing list

Re: rm command problem

2006-10-20 Thread Dan Nelson
In the last episode (Oct 20), Bill Moran said: In response to Efren Bravo [EMAIL PROTECTED]: Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i]

Re: rm command problem [SOLVED]

2006-10-20 Thread Efren Bravo
works with #rm -- -filename thanks again.. --- Bill Moran [EMAIL PROTECTED] escribió: In response to Efren Bravo [EMAIL PROTECTED]: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it

Re: rm command problem

2006-10-20 Thread Alex Zbyslaw
Bill Moran wrote: In response to Efren Bravo [EMAIL PROTECTED]: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink

Re: rm command problem

2006-10-20 Thread DAve
Efren Bravo wrote: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How can I delete it? You have probably

Re: rm command problem

2006-10-20 Thread Michael S
rm -- -exclude taken from man rm. Michael --- Efren Bravo [EMAIL PROTECTED] wrote: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW]

Re: rm command problem

2006-10-20 Thread Jonathan Arnold
DAve wrote: Efren Bravo wrote: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How can I delete it? You have

Re: rm command problem

2006-10-20 Thread DAve
DAve wrote: Efren Bravo wrote: Hi, Accidentally I've created a file called -exclude and now I cann't delete it. I tried with: rm -exclude and rm *exclude but it returns this: rm: illegal option -- - usage: rm [-f | -i] [-dIPRrvW] file ... unlink file How can I delete it? You have