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
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 "
- -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
> -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
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
-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
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
>
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
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 ?
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
Ü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
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
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
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
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}' )
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
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.
>
>
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 \?\?\?\?\?\
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
19 matches
Mail list logo