Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 00:28:53 -0700
From:      JMS Internet <webmaster@jmsinternet.com>
To:        "Richard Grace" <rgrace@itworks.com.au>, "Lanny Baron" <lnb@freebsdsystems.com>
Cc:        <freebsd-stable@FreeBSD.ORG>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: unable to delete a file
Message-ID:  <4.3.1.2.20000407002822.03031100@mail.jmsinternet.com>
In-Reply-To: <NDBBILBEBIHJBLOEIKKCOEKNCCAA.rgrace@itworks.com.au>
References:  <XFMail.000407031059.lnb@freebsdsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you very much.  This worked, so did:

rm -r "   .x  "

Thanks all again.


At 05:19 PM 4/7/00 +1000, Richard Grace wrote:
> > Have you tried to install tkdesk? (it's in /usr/ports/x11-fm).
> > I have had the same thing happen. In text mode (non Xwindows) you
> > have to put
> > either " or ' to the beginning and end of the file. Like
> > rm 'Start Menu' or rm "Start Menu"
> >
> > with a program like tkdesk, the file shows up in a file manager
> > box and you
> > hightlight and delete.
> >
> > lnb
> >
> >
> > On 07-Apr-00 JMS Internet wrote:
> >  Someone has logged into my system via anonymous FTP and uploaded a
> >  directory or file of a large size which I can not seem to delete
> > either via
> >  FTP or telnet.  The complete name as listed by 'du' is:
> >  /users/ftp/incoming/   .x  /for JUSTiSO/by KradLrobR/   (file of
> > some type
> >  here)
> >  When I try to cd to this directory I get:
> >  cd: Too many arguments.
>
>Wildcards are your friends, try also the -i argument to rm.
>
>eg,
>
>$ cd /users/ftp/incoming/*.x*/for*/by*
>$ rm -i *
>
>Then answer 'y' or 'n' to any of the files.  This will allow you to delete
>files which may have special charaters in their names as well.
>
>Richard Grace.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000407002822.03031100>