[NTLUG:Discuss] Remove File With Unknown Chars

Kenneth Loafman kenneth at loafman.com
Fri Aug 15 20:01:58 CDT 2008


Tried one of all the suggestions.  It was the fact that it was mounted
on a CIFS file system that was the problem.  Went to the server itself
and the commands worked as they should.

Rick Renshaw wrote:
> Have you tried finding the file and deleting it like this:
> 
> find ./ -name "visit.gif*" -exec bash -c "rm \{\}" \;
> 
> 
> --- On Fri, 8/15/08, Kenneth Loafman <kenneth at loafman.com> wrote:
> 
>> From: Kenneth Loafman <kenneth at loafman.com>
>> Subject: [NTLUG:Discuss] Remove File With Unknown Chars
>> To: "NTLUG Discussion List" <discuss at ntlug.org>
>> Date: Friday, August 15, 2008, 5:35 PM
>> Folks,
>>
>> Normally I can solve these problems, but I have managed to
>> use wget and
>> it created a file like so:
>>
>> -rw-rw-r-- 1 ken ken 85 2008-08-14 23:50
>> visit.gif?us1218628121
>>
>> Problem is, I can't 'rm' it, can't remove
>> the directory its in with 'rm
>> -rf', and can't remove it with Nautilus.  Wildcards
>> don't work, of
>> course, and I can't see how to remove it.
>>
>> Is there a disk editing tool to see what the directory
>> entry looks like
>> and fix it?
>>
>> ...Ken
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
> 
> 
>       
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 



More information about the Discuss mailing list