From a0b05c59a637f4e4d92c06e999c35a9ed3681922 Mon Sep 17 00:00:00 2001 From: "eric.w@eee65cd362d995ced72640c7cfae388ae93a4234" Date: Thu, 14 Jan 2021 22:15:12 +0000 Subject: [PATCH] Added a comment --- ..._5_53358bdd6093e2fb787df8de7190c5fd._comment | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/git-annex-uninit/comment_5_53358bdd6093e2fb787df8de7190c5fd._comment diff --git a/doc/git-annex-uninit/comment_5_53358bdd6093e2fb787df8de7190c5fd._comment b/doc/git-annex-uninit/comment_5_53358bdd6093e2fb787df8de7190c5fd._comment new file mode 100644 index 0000000000..b9ca1f8f63 --- /dev/null +++ b/doc/git-annex-uninit/comment_5_53358bdd6093e2fb787df8de7190c5fd._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="eric.w@eee65cd362d995ced72640c7cfae388ae93a4234" + nickname="eric.w" + avatar="http://cdn.libravatar.org/avatar/8d9808c12db3a3f93ff7f9e74c0870fc" + subject="comment 5" + date="2021-01-14T22:15:12Z" + content=""" +A faster way of doing uninit is the following: + +```cp --no-clobber --dereference --recursive --preserve=all --reflink=auto --verbose ./git_annex_repo/your_symlinks/ ./target_dir/``` + +This will simply copy (thin COW copy) symlinks (dereferenced) as normal files preserving the mtime, etc. the resulting ./target_dir/ will have your files if they existed in this annex or broken symlinks if the files were not here. + + + + +"""]]