From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.help Subject: Re: dired operation - rsync? Date: Wed, 22 Jun 2011 19:12:38 -0400 Message-ID: References: <874o3haezg.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1308784596 8772 80.91.229.12 (22 Jun 2011 23:16:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 23:16:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 23 01:16:29 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZWeq-0001FL-J7 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 01:16:28 +0200 Original-Received: from localhost ([::1]:56051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZWep-0006hP-2b for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2011 19:16:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZWdc-0006gr-Lp for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 19:15:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZWdY-0001f6-6M for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 19:15:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZWdY-0001dZ-0w for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 19:15:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZWdU-0000VP-EF for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 01:15:04 +0200 Original-Received: from pool-70-109-84-16.hag.east.verizon.net ([70.109.84.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2011 01:15:04 +0200 Original-Received: from ndbecker2 by pool-70-109-84-16.hag.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2011 01:15:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.help Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-109-84-16.hag.east.verizon.net User-Agent: KNode/4.4.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81403 Archived-At: 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!