-
-
Notifications
You must be signed in to change notification settings - Fork 830
Open
Milestone
Description
Trying to use borg import-tar
Docs say: a --tar-filter program may be explicitly specified. It should read compressed data from stdin and output an uncompressed tar stream on stdout.
Can someone please show me how to do tar -xzv --strip-components=1 as the filter program? I tried a few different ways but always just seems to hang..
borg import-tar --tar-filter="tar -xzvf - --strip-components=1" /path/to/repo::archive-name /path/to/something.tar.gz
borg import-tar --tar-filter="tar -xzv --strip-components=1 -f -" /path/to/repo::archive-name /path/to/something.tar.gz
etc..
Shouldn't -f - make tar read from stdin and output to stdout?
Reactions are currently unavailable