User:Ixo/Script: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Added xo-backup-server references.)
Line 1: Line 1:
{{draft}}
{{RightTOC}}
{{RightTOC}}


Line 5: Line 4:


; Notes:
; Notes:
* I know bash not python, so if you want to offer python versions, please send them my way. :)
* After creating the script, the 'x' execute bit must be set, 'chmod x+a FILENAME'.
* After creating the script, the 'x' execute bit must be set, 'chmod x+a FILENAME'.
* All submitted under CC-GNU GPL 3.0 license. {{CC-GNU-GPL}}
* All submitted under CC-GNU GPL 3.0 license. {{CC-GNU-GPL}}
* Other than OLPC / XO Laptop uses, if you are going to make some money with this, please let me know.
* Other than OLPC / XO Laptop uses, if you are going to make some money with this, please let me know.
* I know bash not python, so if you want to offer python versions, please send them my way. :)


; Suggestions:
; Suggestions:
Line 19: Line 18:
== [[/get-xo|get-xo]] ==
== [[/get-xo|get-xo]] ==
{{/get-xo}}
{{/get-xo}}

== [[/xo-backup-server|xo-backup-server]] ==
{{/xo-backup-server}}


== [[/xo-update|xo-update]] ==
== [[/xo-update|xo-update]] ==

Revision as of 02:39, 16 April 2008


Various bash scripts, frequently used.

Notes
  • I know bash not python, so if you want to offer python versions, please send them my way. :)
  • After creating the script, the 'x' execute bit must be set, 'chmod x+a FILENAME'.
  • All submitted under CC-GNU GPL 3.0 license.


Cc-GPL-a.png
This software is licensed under the CC-GNU GPL.


  • Other than OLPC / XO Laptop uses, if you are going to make some money with this, please let me know.
Suggestions
  • Put all scripts in /home/olpc/bin directory
  • add directory to your search path. In .bashrc put ' set path="/home/olpc/bin:$PATH" '

xo-sysinfo

  • xo-sysinfo: Quickly display various useful troubleshooting build information about the XO Laptop


get-xo

  • get-xo: Get a local copy/backup of your XO Laptop /home/olpc directory.


xo-backup-server

  • xo-backup-server: For OLPC/XO-1 Laptop, create a copy/backup of your XO Laptop /home/olpc directory to a specific computer (i.e. server).


xo-update

  • xo-update (& log): Do an olpc-update to specific build (joyride or Update), log results.


xo-update-log

  • xo-update (& log): Do an olpc-update to specific build (joyride or Update), log results.


See Also