[Gllug] need help deleting strange filename
Bruce Richardson
brichardson at lineone.net
Mon Aug 6 19:05:53 UTC 2001
On Mon, Aug 06, 2001 at 06:53:26PM +0100, Andy Smith wrote:
>
> Couple of choices.
>
> - You can escape the dashes with \ in front of each.
No, that'll get you "unrecognized option `--t'"
>
> - You can enclose the filename in quotes.
As will that.
>
> - You can use -- to tell rm there are no more options, i.e. rm --
> --001.avi.
That works
>
> - (my favourite) You can type the first few characters of the
> filename and then use the filename completion facility of your
> shell which should escape the name properly for you (at least bash
> does).
But that doesn't. The autocomplete will work but the shell will then
treat 'rm --t' the only wahy it knows how.
--
Bruce
A problem shared brings the consolation that someone else is now
feeling as miserable as you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20010806/1b1f61ab/attachment.pgp>
More information about the GLLUG
mailing list