aboutsummaryrefslogtreecommitdiff
path: root/doc/forum
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0 <Sehr@web>2012-11-28 11:47:46 +0000
committerGravatar admin <admin@branchable.com>2012-11-28 11:47:46 +0000
commit357f2ea6cdaf8a430237edcd441bfa31bdf64447 (patch)
tree9c1fdf1ec167551b19e02337676f12f591e970f4 /doc/forum
parente37cb2e240371fc8e66c62ab36c9c2fc9fccbcea (diff)
Diffstat (limited to 'doc/forum')
-rw-r--r--doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn
new file mode 100644
index 000000000..55d51f21d
--- /dev/null
+++ b/doc/forum/Moving_large_files_within_the_repo_without_copying___63__.mdwn
@@ -0,0 +1,19 @@
+Is there a way to move a large file without "git annex unlock"ing it (Which takes very long for copying and then rehashing the file)?
+Using a simple "mv" or "git mv" results in broken symlinks, if the target directory is on a different hierarchy level:
+
+Example:
+
+Initial State:
+
+ $ ls -Hl Pictures:
+ Pictures/showImages.jpg -> ../.git/annex/objects/90/32/SHA1-s8737--a8bfb285d0ae394cb75c86f1eb9f703fb678a51e/SHA1-s8737--a8bfb285d0ae394cb
+
+Move:
+
+ $ mv Pictures/showImages.jpg .
+
+Result:
+
+ $ ls -H showImages.jpg
+ ls: cannot access showImages.jpg: No such file or directory
+