View Single Post
Posts: 39 | Thanked: 5 times | Joined on Sep 2008
#1
I want to have these two files being able to be run on my N810 to sync my todo list with the svn repository:

To retrieve updated content:
Code:
#!bin/bash

WORKING="/home/user/.gpe/"
SVNPATH="/media/mmc1/gpe/"

cd
ls -la
ls -d .*
ls -d {.*,*}
echo .*
echo {.*,*}
cd $SVNPATH
cp calendar categories contacts todo $WORKING
To commit content
Code:
#!bin/bash

WORKING="/home/user/.gpe/"
SVNPATH="/media/mmc1/gpe/"

cd
ls -la
ls -d .*
ls -d {.*,*}
echo .*
echo {.*,*}
cd $WORKING
cp calendar categories contacts todo $SVNPATH
echo $SVNPATH
svn commit
However, I am having a lot of trouble getting this working. I am not seeing any verbose output of those two scripts. It would be great to hear some suggestions. Thanks.