[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Way OT: scripting help

this ssh faq for backuppc should apply to the use you require for automatic authorization or however you want to call it after setting up the ssh keys.



Dimitri Yioulos wrote:
On Wednesday 23 May 2007 11:16 am, Dan Young wrote:
Les Mikesell wrote:
I've always thought rsync missed a feature by not having an option to
move files - that is, delete the source (only) after a successful
transfer.  But, it is pretty reliable and a lot easier to script around
than other file transfer methods.
rsync exits non-zero if the transfer is not successful. What's wrong with:

rsync -avP -e ssh /foo root dest:/foo && rm -f /foo

Dan Young <dyoung mesd k12 or us>
Multnomah ESD - Technology Services

K12OSN mailing list
K12OSN redhat com
For more info see <http://www.k12os.org>

Thanks, Dan. OK, I had considered rsync. If I've set up my system to do automatic authentication for an scp session, does that carry over to rsync (or is the attending ssh covered)? D you understand my question (I just barely do :-) )?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]