summaryrefslogtreecommitdiff
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-30 22:45:00 +0000
committermidipix <writeonce@midipix.org>2024-05-30 22:45:00 +0000
commitee80f814e924d7e84e02b290f5f8796d6c4b05be (patch)
tree8c78b3821a7daa042fd572083c1aa8f5cc9654af /src/skin
parent55da8fe4b7c34589e14af92421077f906f65a592 (diff)
downloadtpax-ee80f814e924d7e84e02b290f5f8796d6c4b05be.tar.bz2
tpax-ee80f814e924d7e84e02b290f5f8796d6c4b05be.tar.xz
driver: implemented and integrated the -t (preserve atime) command-line option.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/tpax_skin_default.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/skin/tpax_skin_default.c b/src/skin/tpax_skin_default.c
index a385aac..1684553 100644
--- a/src/skin/tpax_skin_default.c
+++ b/src/skin/tpax_skin_default.c
@@ -58,6 +58,14 @@ const tpax_hidden struct argv_option tpax_default_options[] = {
ARGV_OPTION_HYBRID_ONLY,0,0,
"do not recurse into directory archive members"},
+ {"Wpreserve-atime",
+ 't',TAG_PRESERVE_ATIME,ARGV_OPTARG_NONE,
+ ARGV_OPTION_HYBRID_ONLY,0,0,
+ "when user has the necessary permissions, "
+ "set the access time of each file to the access "
+ "time that was reported by fstatat(3) prior to the "
+ "first read operation performed by pax"},
+
{"Wstrict-path-input",
0,TAG_STRICT_PATH,ARGV_OPTARG_NONE,
ARGV_OPTION_HYBRID_ONLY,0,0,