Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Wayne Davison
On Tue, Aug 10, 2004 at 04:17:59PM +0300, victor wrote: > I will try the first sugestion [to run multiple rsync commands]. Don't do that. Read Tim Conway's reply instead. You probably just want to drop the '*' from your command (and leave the trailing '/'). ..wayne.. -- To unsubscribe or chang

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Tim Conway
You want everything in wex into wex on the remote. Gotcha. Let's take a simple case. wex contains a b c d e. "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r --delete --perms --owner --group /mail/spool/imap/user/wex/* [EMAIL PROTECTED]:/mail/spool/imap/user/wex" on the commandline becomes "/usr/loca

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Jan-Benedict Glaw
On Tue, 2004-08-10 16:17:59 +0300, victor <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > However, can you explain me why this command works? > /usr/local/bin/rsync -r --delete --perms --owner --group > /mail/spool/imap/user [EMAIL PROTECTED]:/mail/spool/imap > In /mail/spool/imap/user

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Jan-Benedict Glaw
On Tue, 2004-08-10 14:41:54 +0300, victor <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > I get this error when I try to copy a directory with a lot of files: > "bash: /usr/local/bin/rsync: Argument list too long" > > The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r >

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I get this error when I try to copy a directory with a lot of files: > "bash: /usr/local/bin/rsync: Argument list too long" > > The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r > --delete --perms --owner --group /mail/spool/imap/user

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Tue, 10 Aug 2004 14:41:54 +0300), victor <[EMAIL PROTECTED]> says: > I get this error when I try to copy a directory with a lot of files: > "bash: /usr/local/bin/rsync: Argument list too long" > > The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -