![]() |
2008-08-28
, 10:36
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#22
|
#!/bin/sh cd /home/user tar cf /media/mmc1/gvm-backup.tar .gvm
#!/bin/sh cd /home/user tar xf /media/mmc1/gvm-backup.tar
I wonder if there is a slick way to pop up a 'completed' confirmation?
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
![]() |
2008-08-28
, 11:48
|
|
Posts: 362 |
Thanked: 82 times |
Joined on Jan 2008
|
#23
|
![]() |
2008-08-28
, 12:05
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#24
|
I hoped that perhaps it acquired the full path during backup and so would place it back in the correct place.
$ tar cvf etc.tar /etc/hosts tar: Removing leading `/' from member names /etc/hosts $ tar tvf etc.tar -rw-r--r-- root/root 1081 2008-04-30 13:35 etc/hosts $
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
![]() |
2008-08-29
, 21:06
|
|
Posts: 362 |
Thanked: 82 times |
Joined on Jan 2008
|
#25
|
![]() |
2008-09-01
, 12:05
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#26
|
PATH=$PATH:/home/user/MyDocs/scripts
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
![]() |
2008-09-01
, 17:18
|
|
Posts: 362 |
Thanked: 82 times |
Joined on Jan 2008
|
#27
|
![]() |
2008-09-02
, 10:58
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#28
|
pwd ls -ld
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
![]() |
2008-09-03
, 16:18
|
Posts: 10 |
Thanked: 1 time |
Joined on Jun 2008
|
#29
|
[21] app name=gvm.store icon name=qgn_list_backup executable=/bin/cp /home/user/.gvm/gvm.store /media/mmc1/AKeg_downlod/gvm.store.`date +%Y%m%d%H%M` ; echo fertig mit gvm.store.`date +%Y%m%d%H%M` run as root=false run in term=true service=
[0] app name=PalmOS icon name=garnet-vm executable=/usr/bin/gvm/gvm --hotsyncid=keg:12345 --dynheap=2048 --storageheap=64 --rotated=no --zoomFactor=1 --appcreator=ZLCR --bgimage=/usr/bin/gvm/gvm_bg.jpg run as root=false run in term=false service=
The Following User Says Thank You to zonki For This Useful Post: | ||
![]() |
2008-09-04
, 03:09
|
|
Posts: 362 |
Thanked: 82 times |
Joined on Jan 2008
|
#30
|
You should be able to create .profile as user, no root access necessary. Specifically, it's /home/user/.profile, make sure that you didn't do e.g. 'cd /' or something before trying to edit it. Just launching xterm should land you in /home/user, as can be checked with
It should output something likeCode:pwd ls -ld
/home/user
and
drwxr-x--- <some number> user users <some date>
which means that you're in /home/user, which is owned by 'user' in the group 'users', and with write access for 'user' (yourself) (that first 'w').
As for the script execution:
It fails with 'MyDocs/scripts/script-name.sh' ?
Does it work with 'sh MyDocs/scripts/script-name.sh' ?
Does 'sh -x' instead of just 'sh' make some output?
I did actualy get it to work by adding the path to the .gvm. I don't see any output of course but it's probably better (and maybe slightly quicker) to leave the v out.
I wonder if there is a slick way to pop up a 'completed' confirmation?
FYI if you have the target folder open in file manager, you can see the file size increase while it runs.
N810, OS 2008 5.2008.43-7 (Diablo)
Nobody can accuse me of not contradicting the invalid arguments of the opposition!
Derek