[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scripting actions over tramp
From: |
Michael Albinus |
Subject: |
Re: Scripting actions over tramp |
Date: |
Tue, 05 Oct 2010 16:30:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Gary <help-gnu-emacs@garydjones.name> writes:
> Is there a way to perform automated actions via tramp (or some other
> method in emacs) on remote hosts?
>
> Something like:
>
> (tramp-ssh-connect some.host)
> (tramp-exec "ls -la") ;; list directory contents on some.host
> (tramp-disconnect some.host)
(let ((default-directory "/ssh:user@some.host:"))
(shell-command "ls -al"))
Best regards, Michael.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Scripting actions over tramp,
Michael Albinus <=