Thierry Volpiatto <[email protected]> writes:
> Hi,
Hi,
> it seem it is possible to run start-file-process on tramp filenames.
> I would like to run start-file-process ==> grep on tramp filenames.
> If it is possible, can you give me link to documentation on how to do
> that, and possibly hints.
Both "M-x find-grep-dired" and "M-x find-grep" shall work with remote
directories out-of-the-box.
If you want to call `start-file-process' directly, you must point
`default-directory' to the remote host:
(let ((default-directory "/ssh:remote.host:"))
(start-file-process "grep" (get-buffer-create "*grep*")
"/bin/sh" "-c" "grep -e thierry *"))
> Thanks.
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel