Giter Club home page Giter Club logo

Comments (4)

emk avatar emk commented on September 23, 2024 1

OK, I've tried xargs -P and it seems to work much more gracefully than other common parallelization tools. I'm OK with closing this issue, and thank you for your help! :-)

from rust-snappy.

BurntSushi avatar BurntSushi commented on September 23, 2024

gzip supports this flag, so I'd be in favor of adding it.

from rust-snappy.

BurntSushi avatar BurntSushi commented on September 23, 2024

I will note thought, that I wonder why you want this. find ./ -type f -print0 | xargs -0 -P8 szip should work just fine and do it in parallel.

from rust-snappy.

emk avatar emk commented on September 23, 2024

Oh, thank you! I'd forgotten about the -P flag to xargs. I always reach for one of the versions of parallel, and I always conclude, "No, not worth sorting out all the issues."

I'll try this on our next cluster job and see how it goes. If it works well, we should just close this issue.

from rust-snappy.

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.