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

Support to extract to path prefix #1563

Closed
JensRantil opened this issue Sep 2, 2016 · 6 comments
Closed

Support to extract to path prefix #1563

JensRantil opened this issue Sep 2, 2016 · 6 comments

Comments

@JensRantil
Copy link
Contributor

I'd like to be able to borg extract a specific file, but I don't want to put it in its original location. It would be useful to be able to extract a file to a custom path to inspect it etc.

@JensRantil
Copy link
Contributor Author

I guess workaround is to FUSE mount the snapshot. Unfortunately, FUSE is not supported on all systems.

@enkore
Copy link
Contributor

enkore commented Sep 2, 2016

--strip-components also allows to remove a prefix.

@ThomasWaldmann
Copy link
Member

... and it always extracts to current directory, in case that was unclear.

@enkore
Copy link
Contributor

enkore commented Sep 2, 2016

I believe there's an RFE to change that, but I didn't find it three hours ago, and also can't find it now... pointers? :D

@ThomasWaldmann
Copy link
Member

ThomasWaldmann commented Sep 2, 2016

It is attic 195, referenced via #5.

But OTOH, doing a "cd ..." first or using borg mount and a file manager solves this easily.

@ThomasWaldmann
Copy link
Member

I am closing this as duplicate, we have it via the attic todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants