Can't Remove Directory?
Daniel Gimpelevich
daniel at gimpelevich.san-francisco.ca.us
Tue Oct 5 13:18:07 MDT 2004
It's not "extra characters," but a single extra character: a trailing
space. That's what you should check your code for.
On Tue, 05 Oct 2004 14:09:34 -0500, Drew Lane wrote:
> Good trick. I was able to rename it.
>
> The whole filename was "43480\ /"
>
> I guess the * wildcard would have worked too - forgot about that.
>
> Now I have to figure out where the heck those extra characters are
> coming from.
>
> Regards,
>
> Drew
>
> mascarasnake wrote:
>
>> Have you tried a tab compete? ala:
>> sudo rm -r 434[TABtoCOMPLETEFILENAME]
>>
>> just some pennies...
>>
>> Drew Lane wrote:
>>
>>>
>>>> Drew, use "ls -q" and dollars to donuts you'll see a special
>>>> character in
>>>> the filename. You can also use "find . -ls" in the above directory
>>>> and it
>>>> will show you the filename.
>>>>
>>> Looks like you're on the right track.
>>>
>>> "ls -q" didn't show anything special, but "find . -ls" shows this:
>>>
>>> 476116 4 drwxr-xr-x 2 root root 4096 Oct 4 23:07
>>> ./43480\
>>>
>>> Note the \ charachter at the end of the directory.
>>>
>>> None of the other directories have this.
>>>
>>> How do i get rid of this? I tried mv 43480\ 43480 but it didn't work.
>>>
>>> Thanks,
>>>
>>> Drew
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yellowdog-general mailing list
>>> yellowdog-general at lists.terrasoftsolutions.com
>>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>>> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
>>>
>>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
More information about the yellowdog-general
mailing list