Reply
Thread Tools
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#1
hello,

i'm trying to understand x-terminal and i want to cleanup my rootfs memory with help of the wiki on the site:

http://wiki.maemo.org/Free_up_rootfs_space

in this wiki they say:

This script will move some unnecessary files on rootfs to /home/opt/ to free up space on rootfs.

First, create a file, move-to-opt.sh for example, containing this script:


But with what program do i create this file? i tried it in notes and then saved it under .sh but it was still a note and offcourse it didnt work in x-terminal?

can someone please help me understeand scripts?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#2
Originally Posted by nielsvg View Post
But with what program do i create this file? i tried it in notes and then saved it under .sh but it was still a note and offcourse it didnt work in x-terminal?
for example:
http://notepad-plus.sourceforge.net/de/site.htm
 
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#3
Originally Posted by b666m View Post
for example:
http://notepad-plus.sourceforge.net/de/site.htm
maybe an english site?

i only understand sturm der liebe
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#4
Originally Posted by nielsvg View Post
maybe an english site?

i only understand sturm der liebe
oh, sorry... xD
http://notepad-plus.sourceforge.net/uk/site.htm

(you just had to change "de" to "uk" ^^)
 
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#5
Originally Posted by b666m View Post
oh, sorry... xD
http://notepad-plus.sourceforge.net/uk/site.htm

(you just had to change "de" to "uk" ^^)
hehehe i didnt seen that thx mate
 
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#6
so i have to install this on my pc and make the script there and then transfer it to n900?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#7
Originally Posted by nielsvg View Post
so i have to install this on my pc and make the script there and then transfer it to n900?
yap.
you could even just use the editor or wordpad but the syntax highlighting is very comfortable.
(especially if you want to understand what the script is doing and how it is doing)

copy&paste it. save it with .sh extension. copy it on your n900. open xterm. get root rights (install rootsh and type "sudo gainroot") make it executable with "chmod +x bla.sh" and then just run it with ". bla.sh" or "sh bla.sh".

BUT: please be aware... if you don't know what the script is doing exactly.. it could lead to some problems... if not right now - then maybe in the futuere (next update or so)
 

The Following 2 Users Say Thank You to b666m For This Useful Post:
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#8
Originally Posted by b666m View Post
yap.
you could even just use the editor or wordpad but the syntax highlighting is very comfortable.
(especially if you want to understand what the script is doing and how it is doing)

copy&paste it. save it with .sh extension. copy it on your n900. open xterm. get root rights (install rootsh and type "sudo gainroot") make it executable with "chmod +x bla.sh" and then just run it with ". bla.sh" or "sh bla.sh".

BUT: please be aware... if you don't know what the script is doing exactly.. it could lead to some problems... if not right now - then maybe in the futuere (next update or so)

thanks i will try this. I know it could lead to problems but there is a wiki that i can use so normally nothing can go wrong???
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#9
Originally Posted by nielsvg View Post
thanks i will try this. I know it could lead to problems but there is a wiki that i can use so normally nothing can go wrong???
it's an open wiki.
anybody can write in it.
nasty people could even abuse this fact.
 

The Following User Says Thank You to b666m For This Useful Post:
Posts: 208 | Thanked: 17 times | Joined on Jan 2010 @ Belgium
#10
i made it with the program notepad++ and i transfer it to my phone in documents and then i type in terminal after rootacces: chmod +x move-opt-sh and then it says there is no such file with this name???

can anyone help?
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:16.