Copy to and from the Journal: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
==Copy to Journal Script==
==Copy to Journal Script==
This python script [[http://wiki.laptop.org/images/b/b4/Copy-to-journal.txt http://wiki.laptop.org/images/b/b4/Copy-to-journal.txt]] by Reinier Heeres and Phil Bordelon seems to do the trick.
This python script [[http://wiki.laptop.org/images/b/b4/Copy-to-journal.txt http://wiki.laptop.org/images/b/b4/Copy-to-journal.txt]] by Reinier Heeres and Phil Bordelon seems to do the trick.

This allows you to copy files from linux to the Journal filesystem.

To use it, save it using the name '''copy-to-journal.py'''. Save it in /home/olpc using the [[Opera]] web browser.
Go to the [[]Terminal]], and type
cd /home/olpc
To go to the directory you saved the file in. Then type
chmod a+x copy-to-journal.py
To make the file executable. Then type
python copy-to-journal.py -t NAME
But replace '''NAME''' with the name you saved in the filesystem.


==Copy from Journal script==
==Copy from Journal script==

Revision as of 20:42, 13 January 2008

This page will document ways of getting files from the Linux file system on the OLPC into the Journal within Sugar.

Copy to Journal Script

This python script [http://wiki.laptop.org/images/b/b4/Copy-to-journal.txt] by Reinier Heeres and Phil Bordelon seems to do the trick.

This allows you to copy files from linux to the Journal filesystem.

To use it, save it using the name copy-to-journal.py. Save it in /home/olpc using the Opera web browser. Go to the [[]Terminal]], and type

cd /home/olpc

To go to the directory you saved the file in. Then type

chmod a+x copy-to-journal.py

To make the file executable. Then type

python copy-to-journal.py -t NAME

But replace NAME with the name you saved in the filesystem.

Copy from Journal script

[This script] allows you to copy files from the Journal to the linux filesystem.

To use it, save it using the name copy-from-journal.py. Save it in /home/olpc using the Opera web browser. Go to the [[]Terminal]], and type

cd /home/olpc

To go to the directory you saved the file in. Then type

chmod a+x copy-from-journal.py

To make the file executable. Then type

python copy-from-journal.py -t NAME

But replace NAME with the name you saved in the Journal.