Comments (5)
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.
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.
after testing,i find:eget --all --file * [repo]
worked,the quote seems to throw:target '*'
not found in archive
from eget.
will do pr to add example to readme.
from eget.
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)
- Bug: `EGET_BIN` seems to be ignored
- Still maintained? HOT 4
- toml file blues: even the example from the manpage does not work HOT 1
- Weird behaviour when using 'file' in config HOT 1
- Support Github Action
- Support for musl-based Releases HOT 7
- eget downloads vscode extension rather than binary HOT 1
- cache downloads to avoid redownloading if unchanged
- Allows alias for target in configuration file
- Rename a file without specifying the dir to place it in
- Allow to read GitHub token from a file HOT 4
- GitLab support and non-public GitHub/GitLab instances HOT 3
- Bad configuration files are silently ignored HOT 2
- [Request] Provide Binaries for Android
- How to download several files for asset?
- Library Usage HOT 3
- Target folder expansion does not work HOT 1
- Download latest tag if latest not found HOT 2
- Eget.toml completely ignored HOT 3
- Fetch more than one archive from a repository?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eget.