Copy to and from the Journal: Difference between revisions
(If you're going to invoke the Python intepreter, there's no need to make the scripts executable.) |
(Point to the Git scripts, not the Wiki ones, which may be out-of-date.) |
||
Line 1: | Line 1: | ||
{{G1G1 Support FAQ}} |
{{G1G1 Support FAQ}} |
||
==Copy to Journal Script== |
==Copy to Journal Script== |
||
[http://dev.laptop.org/git?p=users/phil/support-scripts;a=blob_plain;f=copy-to-journal This Python script] by Reinier Heeres and Phil Bordelon seems to do the trick. |
|||
This allows you to copy files from [[Linux]] to the [[Journal Activity]] filesystem. |
This allows you to copy files from [[Linux]] to the [[Journal Activity]] filesystem. |
||
Line 15: | Line 15: | ||
==Copy from Journal script== |
==Copy from Journal script== |
||
[http:// |
[http://dev.laptop.org/git?p=users/phil/support-scripts;a=blob_plain;f=copy-from-journal This Python 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. |
To use it, save it using the name '''copy-from-journal.py'''. Save it in /home/olpc using the [[Opera]] web browser. |
Revision as of 18:26, 23 January 2008
Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]
- Comment : there's some whitespace here:
rect 135 205 345 408 Other support
- maybe desc none is better. testing.
desc none
</imagemap>Copy to Journal Script
This Python script by Reinier Heeres and Phil Bordelon seems to do the trick.
This allows you to copy files from Linux to the Journal Activity 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 Activity, and type
cd /home/olpc
To go to the directory you saved the file in. Then type
python copy-to-journal.py FILENAME -m MIMETYPE -t TITLE
- FILENAME is the name you saved in the filesystem,
- MIMETYPE is the Mimetype (eg txt or pdf).
- TITLE is the name you want in the journal.
Copy from Journal script
This Python 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 Activity, and type
cd /home/olpc
To go to the directory you saved the file in. Then type
python copy-from-journal.py -t NAME
But replace NAME with the name you saved in the Journal.