Re: restoring a tar archive && modification time of directories
Date: Thu, 01 May 2025 17:54:25 UTC
I can ACK the example of Bob with: $ rm -r d $ mkdir d $ touch -t 202504300101 d/file d $ ls -ld d d/file drwxr-xr-x 2 guru wheel 512 30 abr. 01:01 d -rw-r--r-- 1 guru wheel 0 30 abr. 01:01 d/file $ tar cf d.tar d $ rm -r d $ tar xf d.tar $ ls -ld d d/file drwxr-xr-x 2 guru wheel 512 30 abr. 01:01 d -rw-r--r-- 1 guru wheel 0 30 abr. 01:01 d/file I will investigate, why it didn't went this way with my restore. Btw: $ uname -a FreeBSD c720-1400094 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #2 main-n264568-1d7ffb373c9d-dirty: Wed Sep 6 07:13:22 CEST 2023 guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub An die deutsche Bundesregierung: Nein, meine Söhne geb' ich nicht für Ihren Krieg! Al Gobierno alemán: ¡No, no doy mis hijos para su guerra! To the German Government: No, I will not give my sons for your war!