From d6bcd0f400c0ce8672ac42ebd9a0b0b6874cb4cb Mon Sep 17 00:00:00 2001 From: janis_e Date: Thu, 29 Jan 2015 10:57:33 +0000 Subject: [PATCH] --- ...d___34__dropping__34_____38___cleanup_of_history.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn diff --git a/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn b/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn new file mode 100644 index 0000000000..9c6c3df73e --- /dev/null +++ b/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn @@ -0,0 +1,9 @@ +Hi! + +I have a few questions according to deletion and dropping with git-annex: + +1. I couldn't figure out what unused files really are. What is *unused* related to? (Head of) branches? How does a file become unused? +2. If I'm working in indirect mode, I can safely `git rm` files and restore them later, by checking out the corresponding commit. Consider several git-annex repos being in sync, where the repository contains a nested directory structure. Is there a way to completely remove all deletes files within some directory (which might but not must be the root of the repo), that have been deleted for more than X days? For example I would want to run something like `git annex drop-deleted --from-folder some/subdirectory/ --older-than 5`. Is there a way to achieve this? +3. Just like 2, is there a way to remove (the content of) all non-current *versions* of all file that are older than Y days? + +Thanks in advance!