diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-29 15:23:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-29 15:23:05 -0400 |
commit | 1f6cfecc972b121fa42ea80383183bbaccc2195a (patch) | |
tree | 0a450c4226f5e05c2a3597a9f520376de281fffe /doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn | |
parent | a95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014.
Command line used:
for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn')
-rw-r--r-- | doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn b/doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn deleted file mode 100644 index b4f966abb..000000000 --- a/doc/todo/wishlist:_support_copy_--from__61__x_--to__61__y.mdwn +++ /dev/null @@ -1,29 +0,0 @@ -I'd like to be able to: - - git annex copy --from=x --to=y . - -Use case (true story) follows: - -My desktop hard drive was filling up. I dropped some large files which are also stored (via git-annex) on my backup drive. While these aren't irreplaceable files, I'd prefer to have at least two copies of everything I've decided I care enough about to archive. Later, I get a 2nd external drive, and I: - - git annex copy --to=new-external-drive . - -Fantastic! Now I've got everything that was important/useful enough to keep on my desktop backed up a 2nd time onto my new drive. - -But my new drive doesn't have a copy of any of the files I dropped from my desktop. I would like to be able to: - - git annex copy --from=old-external-drive --to=new-external-drive . - -on my desktop, and then my new drive would have a copy of everything, and my desktop drive would still have plenty of space (ie the files I'd dropped to make space would still not be stored on the desktop). - -The git repos on these external drives are both bare (as in ``git init --bare``) because they are used only for backups. Thus I operate on them only as remotes from my main (desktop) repo. - -> I have now implemented the --all option, and it's the default when -> running `git annex get` inside a bare repo. -> -> So, the solution is to `cd` to the repository on old-external-drive, -> and `git remote add newdrive /path/to/new/drive/repo`. Then run `git -> annex copy --all --to newdrive` and it'll move everything. -> -> Calling this [[done]] unless there are other use cases where the double -> copy method is really needed? --[[Joey]] |