Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. rsync - Is there any open source library C#/C++/C which will give me the delta changes of file (it can be any type)?

rsync - Is there any open source library C#/C++/C which will give me the delta changes of file (it can be any type)?

Scheduled Pinned Locked Moved C#
csharpc++question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sujtha
    wrote on last edited by
    #1
    ><[]
    
    OriginalGriffO M 2 Replies Last reply
    0
    • S sujtha
      ><[]
      
      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      You might want to edit your question, and look at the text: it is showing as:

      ><<a href=""></a>[<a href="" target="_blank"></a>]

      <small></small>

      Which is not particularly helpful...

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • S sujtha
        ><[]
        
        M Offline
        M Offline
        Matt Meyer
        wrote on last edited by
        #3

        sujtha wrote:

        Is there any open source library C#/C++/C which will give me the delta changes of file (it can be any type)?

        Which OS are you targeting? There's a few possibilities getting .Net/rsync to play together. GitHub has a few rsync APIs built in/for C#: https://github.com/MatthewSteeples/rsync.net[^] (uses native System.IO) https://github.com/kolosy/rsync.net[^] (uses pinvoke for filesystem calls) You could also use System.Diagnostics.Process to invoke rsync and control its process from within your application. You can trap its i/o streams for analysis to get your results. If you're looking for a C/C++ API, you could check rsync's site to see what's available, but it's going to require a Linux/Unix environment to compile and run. The Windows rsync fork comes packaged with some cygwin DLLs to meet this requirement.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups