[Novalug] Messed up file title problem

Dan Arico dan_arico at aricosystems.com
Sat Mar 20 22:50:50 EDT 2010


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

-- 
One OS to rule them all, One OS to find them,
One OS to bring them all, and in the Darkness bind them,
In the land of Redmond, where the Sales Reps lie.




More information about the Novalug mailing list