https://bugs.contribs.org/show_bug.cgi?id=9681
--- Comment #4 from John Crisp <[email protected]> ---
(In reply to Bob Stalzer from comment #3)
> I tried the new version, and it creates a script that wont work.
>
> The starting having to start a new task in two steps has always been that
> way.
Yes there is an issue with the first save that I can't get my head round yet.
If you Save and go back to the Rsync menu item and then try adding your dirs
again it seems to accept them.
I've just added one and got this:
#!/bin/bash
# rsync 'driver' script. (Uses SSH as the transport layer.)
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
/bin/ps ax > /tmp/check
CHK=`/bin/cat /tmp/check | /bin/grep /usr/bin/rsync`
if ! $CHK ; then
/bin/echo 'just ignore the warning above, it tells us'
/bin/echo 'rsync is already running, exiting...'
exit 0
fi
# Does copy, but still gives a verbose display of what it is doing.
OPTS='-v -u -a --stats --progress'
echo 'Begin rsync transfer.'
echo ''
echo 'Sending /root/rsynctest to [email protected]'
/usr/bin/rsync $OPTS -e "ssh -p 2222" /root/rsynctest
[email protected]:/root/rsynctest
A quick test shows it works though for whatever goo reason it copies to
/root/rsynctest/rsynctest
Have to think about that bit later.
See if you can get a working config that will get you going and we can refine
the niceties later
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/