-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florin Iucha wrote:
> On Thu, Jan 22, 2009 at 07:17:58AM -0600, Raymond Norton wrote:
>> I'm running into the "Arguments too long" error when attempting to scp 
>> 16000+ flash files to a server. A couple solutions I found mentioned 
>> shortening the file list, or modifying binfmts.h.
>>
>> I don't want to do either. Is there another easy way to get the files 
>> copied over?
> 
> How about moving the files locally to a folder, then transferring the
> folder over with "scp -r"?
> 
> florin
> 

Another possible solution would be to use rsync...you'd need it
installed on both sides.

rsync -avzP -e "ssh -i /your/privatekey" /somedir user at host:/remotedir

If you go this route you'll want to read up on the rules for trailing
slashes in paths.  rsync behaves differently with /somedir vs. /somedir/


- --
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkl4gjkACgkQJvkB8SevrstyHgCfdKZVqQlMe5uuCZRSnQKSaBxB
WL0AoI1qrxfN876wJjMk9Thl7MISJb0B
=o8mh
-----END PGP SIGNATURE-----