help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: removing file with newlines in name


From: John Lowe
Subject: Re: removing file with newlines in name
Date: Wed, 1 Dec 2004 08:57:29 +0000
User-agent: Turnpike/6.04-M (<rweoybWnKb49YslB23rz9FwqWM>)

In message <wgllcjqvxl.fsf@cc.at.coli.uni-sb.de>, Frederik Fouvry <fouvry@coli.uni-saarland.de> writes

Hi,

Due to a corrupted tar file, I ended up in a directory with a file
named like this (between the lines)

----------------------------------------------------------------------
case 't':   get_all_tables = 1;
                       break;
           case 'T':   get_all_tables = 2;

cd
----------------------------------------------------------------------

Any idea on how I can remove it?  I tried quite a few things, but none
that worked.  I usually end up with the error message:

cannot stat `/proj/negra/case \'t\': get_all_tables = 1;\n break;\n\t case \'T\': get_all_tables = 2;\n': Invalid argument

Have you tried moving all the other files out to another directory and then rm -r on this directory, so you don't need to name the file at all?
--
John Lowe
jrnl@bytetype.co.uk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]