[Top][All Lists]

[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 <> 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
> (tramp-exec "ls -la") ;; list directory contents on
> (tramp-disconnect

(let ((default-directory "/"))
  (shell-command "ls -al"))

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]