Code Monkey home page Code Monkey logo

Comments (5)

zyedidia avatar zyedidia commented on September 6, 2024 1

I'm not sure I understand the desired behavior. If you want to extract every file in the archive, you can use

eget --all --file '*' [repo]

from eget.

masta99wrfvsHsa avatar masta99wrfvsHsa commented on September 6, 2024

here is an example(with:eget --all [repo] )
Extracted activitywatch/aw-server/pytz/zoneinfo/US/Pacific to X:\apps\Pacific
The ideal output path is at>activitywatch/aw-server/pytz/zoneinfo/US/Pacific
(keeping and creating all the folder* just as its packaged in the zip)

in this case:"activitywatch/aw-server/pytz/zoneinfo/US/" all recursive folders are gone,the server mix with other stuff.other timezone mix,app folder is gone,

some packaged* application releases are very sensitive to the layer,direct extraction into a flat *path is not the way.

Thus i propose to add a new flag

from eget.

masta99wrfvsHsa avatar masta99wrfvsHsa commented on September 6, 2024

after testing,i find:eget --all --file * [repo]
worked,the quote seems to throw:target '*' not found in archive

from eget.

masta99wrfvsHsa avatar masta99wrfvsHsa commented on September 6, 2024

will do pr to add example to readme.

from eget.

lwbt avatar lwbt commented on September 6, 2024

Although --all --file * is in the examples it is not clear why one would need to specify --file * when --all is... well supposed to extract all files. From experience with projects and co-workers, people will use --all, and wonder some time later why the tool didn't do what it was supposed to do. And then they blame the tools and want to replace it with another instead of realizing an acknowledging a mistake.

I just caught this unexpected behavior now while I'm trying out this nice tool (chezmoi does something similar while being a dotfile manager) and being very careful. But not everyone is.

So please update the documentation or at leas put a comment above said example that explains better the how and why of --all --file *.

from eget.

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.