Re: how to delete a file?

2007-11-19 Thread Byung-Hee HWANG
On Mon, 2007-11-19 at 15:45 +0100, Jack Raats wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Due to an error I made the following file > > - -rw-r--r-- 1 jos jos0 Nov 19 15:34 - > - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc > drwx-- 3 jos jos 512 Nov 19 15:40

Re: how to delete a file?

2007-11-19 Thread Jean-Pierre Trophardy
On Mon, Nov 19, 2007 at 03:45:14PM +0100, Jack Raats wrote: > Due to an error I made the following file > > - -rw-r--r-- 1 jos jos0 Nov 19 15:34 - > - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc > drwx-- 3 jos jos 512 Nov 19 15:40 .imap > > How to delete the - file > rm "

Re: how to delete a file?

2007-11-19 Thread Wojciech Puchar
- -rw-r--r-- 1 jos jos0 Nov 19 15:34 - - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc drwx-- 3 jos jos 512 Nov 19 15:40 .imap How to delete the - file rm "-" doesnot work (even with root access) rm -- - will work. everything after -- is forced to be used as fil

RE: how to delete a file?

2007-11-19 Thread Barry Byrne
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jack Raats > Due to an error I made the following file > > - -rw-r--r-- 1 jos jos0 Nov 19 15:34 - > - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc > drwx-- 3 jos jos 512 Nov 19

how to delete a file?

2007-11-19 Thread Robert Huff
Jack Raats writes: > - -rw-r--r-- 1 jos jos0 Nov 19 15:34 - > - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc > drwx-- 3 jos jos 512 Nov 19 15:40 .imap > > How to delete the - file > rm "-" doesnot work (even with root access) man rm, section NOTES

how to delete a file?

2007-11-19 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Due to an error I made the following file - -rw-r--r-- 1 jos jos0 Nov 19 15:34 - - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc drwx-- 3 jos jos 512 Nov 19 15:40 .imap How to delete the - file rm "-" doesnot work (even wit

Re: how to delete a file called ????

2003-02-14 Thread parv
in message <[EMAIL PROTECTED]>, wrote Matthew Hunt thusly... > > On Wed, Feb 12, 2003 at 02:21:43PM -0500, parv wrote: > > > find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' ) -print0 \ > > | xargs -0 rm -f > > I'm going to go out on a limb and guess that the filename does not really >

Re: how to delete a file called ????

2003-02-12 Thread Matthew Hunt
On Wed, Feb 12, 2003 at 12:59:18PM -0800, Kent Stewart wrote: > I had always used the -i to go along with it. I tried it with ??? and > abc and a "rm -- ???" deleted both files, which wasn't what I expected > if wildcarding was turned off with the "--". WILDCARD PROCESSING IS NOT TURNED OFF WIT

Re: how to delete a file called ????

2003-02-12 Thread Willie Viljoen
On Wednesday 12 February 2003 22:54, Andres Aitsen wrote: > Ühel kenal päeval (kolmapäev, 12. veebruar 2003 21:45) kirjutas Kent Stewart: > > On Wednesday 12 February 2003 11:21 am, parv wrote: > > > > I have a file called ??? > > > > I can't seem to clean it away. > > > > > > > > rm ?

Re: how to delete a file called ????

2003-02-12 Thread Kent Stewart
On Wednesday 12 February 2003 12:42 pm, Ruben de Groot wrote: > On Wed, Feb 12, 2003 at 11:45:33AM -0800, Kent Stewart typed: > > On Wednesday 12 February 2003 11:21 am, parv wrote: > > > in message <[EMAIL PROTECTED]>, > > > wrote David Banning thusly... > > > > > > > I have a file called

Re: how to delete a file called ????

2003-02-12 Thread Andres Aitsen
Ühel kenal päeval (kolmapäev, 12. veebruar 2003 21:45) kirjutas Kent Stewart: > On Wednesday 12 February 2003 11:21 am, parv wrote: > > > I have a file called ??? > > > I can't seem to clean it away. > > > > > > rm > > > rm '' > > > rm "" > > > > > > all do not

Re: how to delete a file called ????

2003-02-12 Thread Ruben de Groot
On Wed, Feb 12, 2003 at 11:45:33AM -0800, Kent Stewart typed: > On Wednesday 12 February 2003 11:21 am, parv wrote: > > in message <[EMAIL PROTECTED]>, > > wrote David Banning thusly... > > > > > I have a file called ??? > > > > ... > > > > > I can't seem to clean it away. > > > > > > r

Re: how to delete a file called ????

2003-02-12 Thread Matthew Hunt
On Wed, Feb 12, 2003 at 02:21:43PM -0500, parv wrote: > find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' ) -print0 \ > | xargs -0 rm -f I'm going to go out on a limb and guess that the filename does not really consist of question marks, but rather of unprintable characters that ls disp

Re: how to delete a file called ????

2003-02-12 Thread Kent Stewart
On Wednesday 12 February 2003 11:21 am, parv wrote: > in message <[EMAIL PROTECTED]>, > wrote David Banning thusly... > > > I have a file called ??? > > ... > > > I can't seem to clean it away. > > > > rm > > rm '' > > rm "" > > > > all do not work. > > try some

Re: how to delete a file called ????

2003-02-12 Thread parv
in message <[EMAIL PROTECTED]>, wrote David Banning thusly... > > I have a file called ??? ... > > I can't seem to clean it away. > > rm > rm '' > rm "" > > all do not work. try something like... find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' )

Re: how to delete a file called ????

2003-02-12 Thread Daniel Bye
On Wed, Feb 12, 2003 at 11:12:32AM -0500, David Banning wrote: > I have a file called ??? > > Yes, the file is a bunch of question marks. > > I can't seem to clean it away. > > rm > rm '' > rm "" > > all do not work. rm -i -- ?* The "--" token tells rm tha

Re: how to delete a file called ????

2003-02-12 Thread David Bear
On Wed, Feb 12, 2003 at 11:12:32AM -0500, David Banning wrote: > I have a file called ??? > have you tried Emacs in dired mode? > Yes, the file is a bunch of question marks. > > I can't seem to clean it away. > > rm > rm '' > rm "" > > all do not work. > >

Re: how to delete a file called ????

2003-02-12 Thread Miguel Mendez
On Wed, 12 Feb 2003 11:12:32 -0500 David Banning <[EMAIL PROTECTED]> wrote: Howdy, > Yes, the file is a bunch of question marks. > > I can't seem to clean it away. > > rm > rm '' > rm "" You need to escape the ?, so it doesn't get expanded by the shell. rm \?\?\?\?\?\

how to delete a file called ????

2003-02-12 Thread David Banning
I have a file called ??? Yes, the file is a bunch of question marks. I can't seem to clean it away. rm rm '' rm "" all do not work. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message