From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: dired copy marked files in xterm
Date: Sun, 24 Feb 2008 20:26:22 +0100 [thread overview]
Message-ID: <fpsgcu$dv4$1@tamarack.fernuni-hagen.de> (raw)
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
next reply other threads:[~2008-02-24 19:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-24 19:26 Fabian Braennstroem [this message]
2008-02-24 21:05 ` dired copy marked files in xterm 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fpsgcu$dv4$1@tamarack.fernuni-hagen.de' \
--to=f.braennstroem@gmx.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.