From fee2445df004eaeb2db00e4c427a8f7e3152f1d8 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Sat, 3 Sep 2022 20:37:25 +0000 Subject: [PATCH] --- .../Use_on_large_media_collection_without_modifying_it.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/Use_on_large_media_collection_without_modifying_it.mdwn b/doc/forum/Use_on_large_media_collection_without_modifying_it.mdwn index 0d2e8069b2..4c2d10f6f9 100644 --- a/doc/forum/Use_on_large_media_collection_without_modifying_it.mdwn +++ b/doc/forum/Use_on_large_media_collection_without_modifying_it.mdwn @@ -25,7 +25,7 @@ So here's what I've looked into so far. All of these are run with `git annex ad Incidentally, I mentioned timestamps and didn't say how I'll preserve them for the archive drives. I can use mtree from Debian's mtree-netbsd package and do something like this on the source directory: -`mtree -c -R nlink,uid,gid,mode -p `pwd` -X <(echo './.git') > /tmp/spec` +`mtree -c -R nlink,uid,gid,mode -p /PATH/TO/REPO -X <(echo './.git') > /tmp/spec` And on the destination, restore the timestamps with: -- 2.30.2