From ee80f814e924d7e84e02b290f5f8796d6c4b05be Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 30 May 2024 22:45:00 +0000 Subject: driver: implemented and integrated the -t (preserve atime) command-line option. --- src/skin/tpax_skin_default.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/skin') 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, -- cgit v1.2.3