@teknoraver commented on this pull request.


> @@ -22,6 +26,8 @@ static struct poptOption optionsTable[] = {
        N_("provide more detailed output"), NULL },
     { "dry-run", 'n', POPT_ARG_VAL, &dryrun, 1,
        N_("only print what would be done"), NULL },
+    { "path", 'C', POPT_ARG_STRING, &dstpath, 0,
+       N_("extract into a specific path"), NULL },

Interestingly, tar has an option to do this without having to create the 
directory manually: `--one-top-level` [was introduced in 
2014](https://git.savannah.gnu.org/cgit/tar.git/commit/?id=2af87fa2776c8125a587a9b0c2c4fae3bf921ff7).
But I didn't use it because it won't work with other implementations like BSD 
or Mac.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2859#discussion_r1475923692
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2859/review/1859001...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to