GithubHelp home page GithubHelp logo

--rsync --log-file being ignored? about msrsync HOT 2 CLOSED

jbd avatar jbd commented on August 27, 2024
--rsync --log-file being ignored?

from msrsync.

Comments (2)

jbd avatar jbd commented on August 27, 2024

Hi, thank you for opening this issue.

You're right, the log-file option is always added and this is by design. https://github.com/jbd/msrsync#notes. I'm not saying this is particularly intelligent choice, but each spawned rsync process generates it's own log file and the simplest solution was to enforce its location.

Maybe you will be interested in those options ?

-b, --buckets ...     where to put the buckets files (default: auto temporary directory)
-k, --keep            do not remove buckets directory at the end
$ mkdir buckets
$ msrsync --buckets buckets --keep src dest
$ cat buckets/msrsync-RbeOP5/0000/0000/tmp584JTA.log 
2018/12/25 20:59:05 [7191] building file list
2018/12/25 20:59:05 [7191] cd+++++++++ src/
2018/12/25 20:59:05 [7191] cd+++++++++ src/proc/
2018/12/25 20:59:05 [7191] Number of files: 2 (dir: 2)
2018/12/25 20:59:05 [7191] Number of created files: 2 (dir: 2)
2018/12/25 20:59:05 [7191] Number of deleted files: 0
2018/12/25 20:59:05 [7191] Number of regular files transferred: 0
2018/12/25 20:59:05 [7191] Total file size: 0 bytes
2018/12/25 20:59:05 [7191] Total transferred file size: 0 bytes
2018/12/25 20:59:05 [7191] Literal data: 0 bytes
2018/12/25 20:59:05 [7191] Matched data: 0 bytes
2018/12/25 20:59:05 [7191] File list size: 0
2018/12/25 20:59:05 [7191] File list generation time: 0.001 seconds
2018/12/25 20:59:05 [7191] File list transfer time: 0.000 seconds
2018/12/25 20:59:05 [7191] Total bytes sent: 67
2018/12/25 20:59:05 [7191] Total bytes received: 22
2018/12/25 20:59:05 [7191] sent 67 bytes  received 22 bytes  178.00 bytes/sec
2018/12/25 20:59:05 [7191] total size is 0  speedup is 0.00

from msrsync.

2cokes avatar 2cokes commented on August 27, 2024

Thanks for the clarification! I tracked those options as I was dealing with the logfile as well. Everything is working to spec.

from msrsync.

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.