Re: rsync arg list to long

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



Robert - elists wrote:

I was trying to do "rsync -a root@machine2:/somedirectory ."

There are multiple directories under the tree and yes many files.

also tried "scp -r root@machine2:/somedirectory ." with the same result of
too many files.

Jerry



First, back up the files to somewhere else on the same machine just in
case...

Then, consider doing a proper recursive tar or zip that preserves
permissions etc and dust the rest and then do it as only a single file or
thereabouts

rsync -a knows as much or more about permissions, etc. as tar and zip do. And it is vastly more efficient when you repeat it to the same destination.

--
  Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
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