unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dired copy marked files in xterm
@ 2008-02-24 19:26 Fabian Braennstroem
  2008-02-24 21:05 ` Thierry Volpiatto
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2008-02-24 19:26 UTC (permalink / raw)
  To: help-gnu-emacs


Hi,

    I would like to use the system 'cp' function in an xterm
    to copy marked files in dired.
    Right now, this small function works with the current
    file:

(defun tacopybackground(var1)
    "Copy"
  (interactive)
       (call-process-shell-command (concat "xterm -e 'cp -R "(dired-get-filename)" " (dired-dwim-target-directory) " &'"))
       )

    but obviously it needs some kind of loop or different
    approach for marked files!?:

       (call-process-shell-command (concat "xterm -e 'cp -R "(dired-get-marked-files)" " (dired-dwim-target-directory) " &'"))

    Does anyone have an idea or any suggestion? At the end I
    would actually use a similar command to transfer several
    large (up to 2-3GB) files to an remote machine using
    scp. Tramp is unfortunately to slow...

Greetings!
 Fabian


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-03 19:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24 19:26 dired copy marked files in xterm Fabian Braennstroem
2008-02-24 21:05 ` Thierry Volpiatto
2008-02-24 21:11 ` David Hansen
     [not found] ` <mailman.7870.1203888211.18990.help-gnu-emacs@gnu.org>
2008-02-25 19:10   ` Fabian Braennstroem
     [not found] ` <mailman.7867.1203886432.18990.help-gnu-emacs@gnu.org>
2008-02-25 19:15   ` Fabian Braennstroem
2008-02-26 10:22 ` Piet van Oostrum
2008-02-26 20:21   ` Fabian Braennstroem
2008-02-27 10:49     ` Piet van Oostrum
2008-03-03 19:44       ` Fabian Braennstroem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).