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

next in thread | previous in thread | raw e-mail | index | archive | help
> 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-stable" in the body of the message




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