Problems with the rsync command line syntax for multiple files

tim.conway@philips.com
Mon, 13 May 2002 13:13:02 -0000

Pete:  some(all?) of your filenames have colons, and most importantly, the
first one does.  If you can get something in front of the filenames to
show it's a file before the program decides it's a servername, it should
go... since you're doing the current directory, ./ works nicely.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>ls
a.html  a:b.html
tconway@atlas:/users/tconway/test/1
>rsync * ../2
tconway@atlas:/users/tconway/test/1
>mv a.html b.html
tconway@atlas:/users/tconway/test/1
>rsync * ../2
rsync  version 2.5.5rc1  protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,

              no IPv6, 64-bit system inums, 64-bit internal inums
<<<<<<<<<<<<<<<<<<<<<<<<<usage
message
snipped>>>>>>>>>>>>>>>>>>>>>>>>>>
>
tconway@atlas:/users/tconway/test/1
>rsync ./* ../2
tconway@atlas:/users/tconway/test/1
>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"




Peter M?ller Neergaard <turtle@achilles.linearity.org>
Sent by: rsync-admin@lists.samba.org
05/13/2002 12:31 PM
Please respond to Peter M?ller Neergaard


        To:     Dave Dykstra <dwd@bell-labs.com>
rsync@lists.samba.org
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Re: Problems with the rsync command line syntax for
multiple files
        Classification:



On May 13, 2002, Dave Dykstra wrote:

DD> Works for me.  What does "*.html" expand to?

The following:

types:/<3>tmp/wwwreports-dont-edit > echo *.html
Amt+Con+Dan+Mal:BRICS-2001.html Amt+Kfo+Per:CL-2002.html
Amt+Kfo+Per:ESOP-2001.html Amt+Kfo+Per:PTA-2000.html
Amt+Mul:IpRA-2002.html Amt+Tur:Faithful-ESOP-2000.html
Amt+Tur:Faithful-TR-2000.html Amt:BRICS-1999.html Amt:CauMov-2001.html
Banerjee:ICFP-1997.html Bawden:POPL-2000.html Bug+Per:FOOL-2000.html
Bug+Per:IAC-2000.html Dim+Mul+Tur+Wel:ICFP-1997.html
Dim+Wes+Mul+Tur+Wel+Con:TIC-2000-LNCS.html
Dim+Wes+Mul+Tur+Wel+Con:TIC-2000-TR.html
Dim+Wes+Mul+Tur+Wel+Con:TIC-2000-formal-sub-obsolete.html
Dim+Wes+Mul+Tur+Wel+Con:TIC-2000.html Dim+Wes+Mul+Tur+Wel:ICFP-2001.html
Home-bib.html Home.html Jim:MIT-LCS-1995-532.html Jim:RTTS-1995.html
Kfo+Mai+Tur+Wel:ICFP-1999.html Kfo+Per:LICS-1999.html
Kfo+Per:TIRD-1999.html Kfo+Wel:LICS-1995.html Kfo+Wel:POPL-1999.html
Kfoury:JLC-2000-v10n3.html Kfoury:Rasiowa-memorial.html
Kfoury:TTTR-1996.html Law+Mai:ESOP-2000.html
Mac+Tur:Link-time-ESOP-2000.html Mac+Tur:Link-time-TR-2000.html
Nee+Sor:IAC-ta.html Ong+Ste:curhff.html Per:PhD-2001.html St
 ewart:fortcf.html Tur+Dim+Mul+Wel:CPPFT-1997.html Tur+Wel:PPDP-2001.html
Wel+Dim+Mul+Tur:JFP-2002-v12n3.html Wel+Dim+Mul+Tur:TAPSOFT-1997.html
Wel+Haa:ESOP-2002.html Wells:APAL-1999-v98-no-note.html
Wells:APAL-1999-v98.html Wells:ICALP-2002.html Wells:TUFE-1996.html
Wells:UMSR-1995.html

DD> I'm using rsync 2.5.5 but I don't think that would be different
DD> from 2.4.5.

Also on Sun/Solaris?

/Peter
--
http://www.linearity.org/turtle/contact.html
``When you have had all the experiences, met all the famous people,
made some money, toured the world and got all the acclaim you still
think--is that it? Some might be satisfied--but I wasn't'' -- G.
Harrison

--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html