Re: rsync arg list to long

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



On 8/30/07, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> I am trying to do an rsync or scp from machine1 to machine2.
> I am getting arg list to long.
>
> I am using centos 5 machine 1 and centos 4.5 on machine2.
>
> I am using the default shell which is bash.
>
> How can I get past this?
>
> Thanks,
> Jerry

I would use find and xargs.  That's usually how I get around it.
You'll have to experiment though.  Something like:
    find ./ -type f | xargs scp .....
That's not a fully functional command!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux