On Wed, 2010-03-17 at 14:30 -0500, Ramesh Basukala wrote: > Is there any way in rsync that allows me to trasfer certain amount of > files? > > For Example: > > My total directory/folder (/var/tmp/testFolder ) size is 800MB and I > want to sync only 200MB of files at other server, whichever file will > be synced I don't care but only 200MB of files. I am not talking about > single file here, I want to sync the whole directory until the size > reach 200MB. > > Is it possible to do with rsync?
Rsync has no such option. You may be able to put the destination on a fixed-size loopback-mounted filesystem image. Also see if --only-write-batch helps. If you tell me more about what you are trying to achieve by transferring only 200MB of data, I might have better ideas. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html