Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 15:18:31 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: dir ~
Message-ID:  <200503011518.35088.kirk@strauser.com>
In-Reply-To: <plop858y57md1w.fsf@gnu-rox.org>
References:  <20050228165856.D333143D5F@mx1.FreeBSD.org> <plop858y57md1w.fsf@gnu-rox.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3453662.eLBc6QmuNU
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 01 March 2005 12:33, Xavier Maillard wrote:

> My best bet on this issue is to list this by inode -i.e. ls -i
> and then track this inode using the inum switch of the find
> command to delete the item.

Ouch.  "rm -- fileWithWeirdName" is usually a lot easier.  For example, if=
=20
you create a file named "-", then "rm -- -" will get rid of it.
=2D-=20
Kirk Strauser

--nextPart3453662.eLBc6QmuNU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iD8DBQBCJNwr5sRg+Y0CpvERAmJ5AKClKQ5ZCYdZGFseLIq5rU1rEUuXsQCeNH/e
3G67/zI2rKPjwpzOtCfP5ds=
=hFxk
-----END PGP SIGNATURE-----

--nextPart3453662.eLBc6QmuNU--



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