Giter Site home page Giter Site logo

Comments (3)

SUPERCILEX avatar SUPERCILEX commented on May 25, 2024 1

But I suppose I can just solve that by just wrapping cpz like

Yeah, I was going to say we could have cpz print the passed in args, but at that point why not just echo the args which is exactly what you did lol.

from fuc.

SUPERCILEX avatar SUPERCILEX commented on May 25, 2024

This one gets a no because it requires locking across the copy threads again (either in user space or in the kernel). If you want to see the result, you can use tree on the destination after the copy. Also, if you can read the verbose output then it means you're copying so few files that it won't really matter what tool you use. cpz is only really interesting once you've made it past a few thousand files. :)

from fuc.

baod-rate avatar baod-rate commented on May 25, 2024

This one gets a no because it requires locking across the copy threads again

Yeah, totally fair. I realized the issue with cpz being multi-threaded after I wrote the issue

cpz is only really interesting once you've made it past a few thousand files

TBH, I'm mostly concerned with making sure my arguments are what I expected them to be. It's easy to lose your copies when you give cp/cpz a valid but unintentional path (like when I blast off the command with a few globs). But I suppose I can just solve that by just wrapping cpz like:

cpzv() {
  print -r ${(qq)@}
  cpz "$@"
}

from fuc.

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.