[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel: remote execution ?
From: |
Eric Schulte |
Subject: |
Re: [O] org-babel: remote execution ? |
Date: |
Tue, 12 Mar 2013 16:54:52 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Xavier Maillard <address@hidden> writes:
> Hi there,
>
> I am trying to get back to orgmode after years ;)
>
Welcome back!
>
> I developed my own spartian note-jotting mode for emacs but I do not
> track my TODOs with that and thus, I am totally dis-org-anized :D I am
> also an eev-mode fan to do all sort of stuff.
>
> Today, I tried to use org-babel for the first time with thing like that:
>
> #+begin_src sh
> echo $ORACLE_SID
> #+end_src
>
> My goal is to execute this block on a remote machine. I RTFM'ed but I
> could not find where this is described.
>
You can use the :dir header argument for remote execution.
#+begin_src sh :dir /ssh:tortilla:/tmp/
hostname
#+end_src
#+RESULTS:
: tortilla
--
Eric Schulte
http://cs.unm.edu/~eschulte