[Novalug] Messed up file title problem

cmhowe at patriot.net cmhowe at patriot.net
Sun Mar 21 21:59:05 EDT 2010


> Charlie,
>
>    I thought you meant get rid of the space.  To get rid of the file, my
> same suggestion to use wildcarding works.  Try:
>
>    rm Trial?1.odt
>
> Ed James

Ed,

That did it! Thank you very much.

Charlie

>
> On Sun, Mar 21, 2010 at 12:55 AM,  <cmhowe at patriot.net> wrote:
>>> On Saturday 20 March 2010 10:36:25 pm cmhowe at patriot.net wrote:
>>>> > List,
>>>> >
>>>> > This doesn't really affect the problem I am wrestling with, but it
>>>> is
>>>> an
>>>> > annoyance and I want to deal with it.
>>>> >
>>>> > I inadvertently put a space in any oo word processor file. It reads
>>>> > Trial 1.odt. How do I get rid of it?
>>>> >
>>>> > Charlie
>>>>
>>>> List,
>>>>
>>>> More.
>>>>
>>>> Bb using chmod 7 *.odt and same *.pdf I am able to persuade common
>>>> Linux
>>>> commands that they are ordinary files, to be manipulated as I wish.
>>>> But
>>>> not if they have a space in their title. When I do
>>>>
>>>>   $rm Test 1.odt
>>>>
>>>> it comes back
>>>>
>>>>   rm: cannot remove 'Test 1.odt': no such file or directories
>>>>
>>>> Suggestions?
>>>>
>>>> Charlie
>>>
>>> $rm 'Test 1.odt'
>>>
>>> You need the quotes or the rm function is looking for two files called
>>> 'Test'
>>> and '1.odt' which don't exist.
>>>
>>> Dan
>>>
>> Dan,
>>
>> This is slightly different from what Nino suggested. Also no.
>>
>> Charlie
>>
>>
>> _______________________________________________
>> Novalug mailing list
>> Novalug at calypso.tux.org
>> http://calypso.tux.org/mailman/listinfo/novalug
>>
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>





More information about the Novalug mailing list