From 9899d4181084b0cb488fe6161ac3ffe9ccd55c29 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 3 Jul 2019 19:27:08 +0200 Subject: sqfs2tar: add option to extract subdirectories Signed-off-by: David Oberhollenzer --- doc/sqfs2tar.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/sqfs2tar.1 b/doc/sqfs2tar.1 index c7389ed..2cf9f9c 100644 --- a/doc/sqfs2tar.1 +++ b/doc/sqfs2tar.1 @@ -13,6 +13,16 @@ work on tar archives. .PP Possible options: .TP +\fB\-\-subdir\fR, \fB\-d\fR +Unpack the given sub directory instead of the filesystem root. Can be specified +more than once to select multiple directories. If only one is specified, it +becomes the new root of node of the archive file system tree. +.TP +\fB\-\-keep\-as\-dir\fR, \fB\-k\fR +If \fB\-\-subdir\fR is used only once, don't make the subdir the archive root, +instead keep it as prefix for all unpacked files. Using \fB\-\-subdir\fR more +than once implies \fB\-\-keep\-as\-dir\fR. +.TP \fB\-\-no\-skip\fR, \fB\-s\fR Abort if file cannot be stored in a tar record instead of skipping it. .TP -- cgit v1.2.3