Allow extraction to existing folders
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the pget extraction path used by the -x option and the check that reports "destination / already exists"; the issue names no files or tests. Done means extraction can target an existing directory such as /, while the existing download-and-extract behavior continues to work.
Written by the indexing model from the issue text.
Description
I was using pget to download a tarball and extract to the root of my container / with the following command:
pget "https://storage.googleapis.com/xxx/xxx/xxx.tar.gz" / -x
I receive the following error message:
Error: destination / already exists
Would the pget team be amenable to me making the change that allows extraction to already existing directories? I currently I work around this by doing the following:
pget "https://storage.googleapis.com/xxx/xxx/xxx.tar.gz" "/tmp/usrfile.tar.gz"
tar xf "/tmp/usrfile.tar.gz" -C /
rm "/tmp/usrfile.tar.gz"
- Dominant language
- Go
- Stars
- 151
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from replicate/pget
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 32/100
-
Performance Tuning Open
-
enhancement good first issue
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100