![]() |
2010-03-07
, 15:32
|
Posts: 208 |
Thanked: 17 times |
Joined on Jan 2010
@ Belgium
|
#12
|
you have to "cd" into the directory where you stored the file first or write the full path in the command.
three examples when you copied the file in the documents directory via usb:
relative:
(when you open up xterm you're in /home/user/)
absolute:Code:chmod +x MyDocs/.documents/move-opt.sh
or first cd into the right directory:Code:chmod +x /home/user/MyDocs/.documents/move-opt.sh
maybe you should learn how to get along with the terminal first before you do something big like moving system files around and symlinking them automatically....Code:cd MyDocs/.documents chmod +x move-opt.sh
![]() |
2010-03-07
, 16:03
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#13
|
i saved the file on my phone in the file manager underr N900 and then documents
so when i put in the code in x-terminal: cd MyDocs or cd MyDocs/documents it stil keep saying cant cd to mydocs? and i'm in root access?
![]() |
2010-03-07
, 16:07
|
Posts: 208 |
Thanked: 17 times |
Joined on Jan 2010
@ Belgium
|
#14
|
![]() |
2010-03-07
, 16:09
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#15
|
he wasnt connected??? i disconnect the phone and tried it but doesnt work
![]() |
2010-03-07
, 20:43
|
Posts: 208 |
Thanked: 17 times |
Joined on Jan 2010
@ Belgium
|
#16
|
huh?
then "cd MyDocs/.documents" should work.
and pay attention to the . before documents.
![]() |
2010-03-07
, 21:02
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#17
|
![]() |
2010-03-07
, 21:10
|
Posts: 208 |
Thanked: 17 times |
Joined on Jan 2010
@ Belgium
|
#18
|
three examples when you copied the file in the documents directory via usb:
relative:
(when you open up xterm you're in /home/user/)