From: Sergey Poznyakoff Date: Thu, 4 Sep 2003 15:44:07 +0000 (+0000) Subject: (strip_path_elements): New variable. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d93cbfbf0bd6c570e37c716bb5cc1b70331b50ab;hp=5b9d8c93c78f8c0177e4c837dcc3cdc4f79d59c5;p=chaz%2Ftar (strip_path_elements): New variable. --- diff --git a/src/common.h b/src/common.h index 9ec6e3f..3b9f760 100644 --- a/src/common.h +++ b/src/common.h @@ -230,6 +230,10 @@ GLOBAL int same_owner_option; /* If positive, preserve permissions when extracting. */ GLOBAL int same_permissions_option; +/* When set, strip the given number of path elements from the file name + before extracting */ +GLOBAL size_t strip_path_elements; + GLOBAL bool show_omitted_dirs_option; GLOBAL bool sparse_option;