Coder Social home page Coder Social logo

Comments (5)

deepwather avatar deepwather commented on June 10, 2024 1

This sounds great, I will test it as soon as the release is out. I also tried it with the switch --itemize-changes, this works, but my log file is then about 519Mb big. Without --itemize-changes the rsync log is only about 43Mb big. I haven't tested --log-file yet, maybe this would be a good option for a smaller file size too.

from jc.

kellyjonbrazil avatar kellyjonbrazil commented on June 10, 2024

Hi, thanks for reporting this! Maybe I missed it, but was the -i or --itemize-changes or --log-file option used in rsync? One of those are required, but we may be able to enhance the parsers to support your output.

from jc.

kellyjonbrazil avatar kellyjonbrazil commented on June 10, 2024

I have a simple summary parsing working on my local machine. Still working on tests, but here is what the output looks like:

% echo 'sending incremental file list

sent 8.71M bytes  received 29.88K bytes  10.99K bytes/sec
total size is 221.79G  speedup is 25,388.23' | jc --rsync -p
[
  {
    "summary": {
      "sent": 8710000,
      "received": 29880,
      "bytes_sec": 10990.0,
      "total_size": 221790000000,
      "speedup": 25388.23
    },
    "files": []
  }
]

This will make the next release.

from jc.

kellyjonbrazil avatar kellyjonbrazil commented on June 10, 2024

And here is the rsync-s streaming parser output. This is now available in the dev branch.

% echo 'sending incremental file list

sent 8.71M bytes  received 29.88K bytes  10.99K bytes/sec
total size is 221.79G  speedup is 25,388.23' | jc --rsync-s -p
{
  "type": "summary",
  "sent": 8710000,
  "received": 29880,
  "bytes_sec": 10990.0,
  "total_size": 221790000000,
  "speedup": 25388.23
}

from jc.

kellyjonbrazil avatar kellyjonbrazil commented on June 10, 2024

Added in v1.25.2

from jc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.