* Re: how to move files in background with dired? [not found] <mailman.2577.1109935580.32256.help-gnu-emacs@gnu.org> @ 2005-03-04 12:44 ` fineman.web 2005-03-04 18:15 ` William Xuuu 1 sibling, 0 replies; 5+ messages in thread From: fineman.web @ 2005-03-04 12:44 UTC (permalink / raw) You might be able to use dired-do-shell-command ( '!' in dired-mode ). Looks like you can even do it on groups of files... you could make it queue by using the * or do all operations concurrently using '?' (look at the docs for dired-do-shell-command). After hitting '!' on the file of interest I entered 'cp ? c:/temp &' and it worked just fine. Not sure how well it would work with tramp though since my guess is it just uses the relative path of the file and not the abosulte path. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to move files in background with dired? [not found] <mailman.2577.1109935580.32256.help-gnu-emacs@gnu.org> 2005-03-04 12:44 ` how to move files in background with dired? fineman.web @ 2005-03-04 18:15 ` William Xuuu 2005-03-06 20:40 ` fineman.web 2005-03-06 20:42 ` fineman.web 1 sibling, 2 replies; 5+ messages in thread From: William Xuuu @ 2005-03-04 18:15 UTC (permalink / raw) Joakim Verona <joakim@verona.se> writes: > Is there some way to manage a background transfer queue for dired? Probably no ? i guess, as elisp doesn't support multithread. -- William ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to move files in background with dired? 2005-03-04 18:15 ` William Xuuu @ 2005-03-06 20:40 ` fineman.web 2005-03-06 20:42 ` fineman.web 1 sibling, 0 replies; 5+ messages in thread From: fineman.web @ 2005-03-06 20:40 UTC (permalink / raw) Doesn't really have anything to do with multi-threading... these commands launch sub-processes. Emacs does support a notion of a process sentinal... you could probably fairly easily set up one of these up to do what Joakim requested if my above suggestion does not solve the problem for him (i.e it does it concurrently rather than queuing them). ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to move files in background with dired? 2005-03-04 18:15 ` William Xuuu 2005-03-06 20:40 ` fineman.web @ 2005-03-06 20:42 ` fineman.web 1 sibling, 0 replies; 5+ messages in thread From: fineman.web @ 2005-03-06 20:42 UTC (permalink / raw) Doesn't really have anything to do with multi-threading... these commands launch sub-processes. Emacs does support a notion of a process sentinal... you could probably fairly easily set up one of these up to do what Joakim requested if my above suggestion does not solve the problem for him (i.e it does it concurrently rather than queuing them). ^ permalink raw reply [flat|nested] 5+ messages in thread
* how to move files in background with dired? @ 2005-03-04 10:44 Joakim Verona 0 siblings, 0 replies; 5+ messages in thread From: Joakim Verona @ 2005-03-04 10:44 UTC (permalink / raw) Is there some way to manage a background transfer queue for dired? Maybe its easier to understand what I mean if I explain how I would like it to work: - I mark a number of large files to be moved to another disk, which takes time. - dired puts the moves on a queue, and makes a "progress buffer" showing how far each move or copy has progressed. (this would look something like wget.el:s progress buffer) - each move or copy is done in the background with cp or mv shell commands, so emacs is not locked - Im now free to add more moves or copys to the queue by direding some other directory Ideally the same interface would be used for remote operations, with tramp or something. Sounds doable. Has it been done? -- Joakim Verona www.verona.se ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-06 20:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.2577.1109935580.32256.help-gnu-emacs@gnu.org> 2005-03-04 12:44 ` how to move files in background with dired? fineman.web 2005-03-04 18:15 ` William Xuuu 2005-03-06 20:40 ` fineman.web 2005-03-06 20:42 ` fineman.web 2005-03-04 10:44 Joakim Verona
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).