help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired operation - rsync?


From: Neal Becker
Subject: Re: dired operation - rsync?
Date: Wed, 22 Jun 2011 19:12:38 -0400
User-agent: KNode/4.4.11

Eric Abrahamsen wrote:

...
> '*' and '?' should do what you want.
> 
> (dired-do-shell-command COMMAND &optional ARG FILE-LIST)
> 
> Run a shell command COMMAND on the marked files.
> If no files are marked or a specific numeric prefix arg is given,
> the next ARG files are used.  Just C-u means the current file.
> The prompt mentions the file(s) or the marker, as appropriate.
> 
> If there is a `*' in COMMAND, surrounded by whitespace, this runs
> COMMAND just once with the entire file list substituted there.
> 
> If there is no `*', but there is a `?' in COMMAND, surrounded by
> whitespace, this runs COMMAND on each file individually with the
> file name substituted for `?'.

Oh, cool!  Thanks!




reply via email to

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