[sugar] rsync directory?

Bert Freudenberg bert at freudenbergs.de
Mon Apr 2 04:12:27 EDT 2007


On Apr 2, 2007, at 10:04 , Marco Pesenti Gritti wrote:

> On Mon, 2007-04-02 at 09:30 +0200, Bert Freudenberg wrote:
>> On Apr 2, 2007, at 4:27 , Erik Blankinship wrote:
>>
>>> On 4/1/07, Marco Pesenti Gritti <mpg at redhat.com> wrote: On Sat,
>>> 2007-03-31 at 10:37 -0400, Erik Blankinship wrote:
>>>> Hello
>>>>
>>>> What is the path to the directory which will be backed up to the
>>>> school server with rsync?
>>>>
>>>
>>> For Trial1 it will be the home directory. /home/olpc
>>>
>>> The whole directory gets backed up, recursively?  So I can save
>>> files in /home/olpc/.sugar/ ?
>>
>> Current practice is to make a subdirectory named after your activity
>> in Sugar's profile directory:
>>
>> 	from sugar import env
>> 	env.get_profile_path()
>>
>> This is to allow two instances of Sugar running on the same machine,
>> someone can just change the SUGAR_PROFILE environment variable for
>> each instance.
>>
>
> Yeah, that's true for application data. With the trial1 file based
> system we are using home to store documents, images etc though.

That's the first time I hear of that. It would be no problem to  
change etoys to store projects in the home directory - but you would  
have to tell somebody. So what is the preferred directory layout? And  
there is no Journal  in Trial1, right?

- Bert -




More information about the Sugar mailing list