Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow extraction to existing folders #219

Open
8W9aG opened this issue Jul 10, 2024 · 0 comments
Open

Allow extraction to existing folders #219

8W9aG opened this issue Jul 10, 2024 · 0 comments

Comments

@8W9aG
Copy link

8W9aG commented Jul 10, 2024

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant