From 22b8af5edf5d22fb26fc4596be0ad582a893d7aa Mon Sep 17 00:00:00 2001 From: "http://svario.it/gioele" Date: Thu, 16 May 2013 10:15:29 +0000 Subject: new wishlist: remove files and symlinks but keep in remote --- .../wishlist:_remove_files_and_symlinks_but_keep_in_remote.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote.mdwn (limited to 'doc/todo') diff --git a/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote.mdwn b/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote.mdwn new file mode 100644 index 000000000..4f24117f6 --- /dev/null +++ b/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote.mdwn @@ -0,0 +1,7 @@ +It would be nice to have a way to drop files without leaving broken symlinks around, at least while in direct mode. + +Here is my user case. I have a collection of music CDs ripped in FLAC formats. At the same time I convert all these files to MP3 files to that I can use them in various other devices and to save space. + +The problem is that if I `git annex drop` the FLAC files once they are converted and copied, they leave broken symlinks around; this result in various annoying error messages in almost all the music playback I tried. At the same time, if I `rm` or `git rm` these symlinks, the content of these files will be removed also from the remotes as they are signalled as no longer wanted. + +Couldn't git-annex keep a separate index of files that have been removed but are meant to be kept? -- cgit v1.2.3 From 164eaa183c20bb54511e6de508d3e720d16bc589 Mon Sep 17 00:00:00 2001 From: "http://svario.it/gioele" Date: Thu, 16 May 2013 10:22:48 +0000 Subject: Added a comment: Maybe using branches? --- .../comment_1_cba76311e146dabb8ffc789bf4c8b714._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote/comment_1_cba76311e146dabb8ffc789bf4c8b714._comment (limited to 'doc/todo') diff --git a/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote/comment_1_cba76311e146dabb8ffc789bf4c8b714._comment b/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote/comment_1_cba76311e146dabb8ffc789bf4c8b714._comment new file mode 100644 index 000000000..c490c826a --- /dev/null +++ b/doc/todo/wishlist:_remove_files_and_symlinks_but_keep_in_remote/comment_1_cba76311e146dabb8ffc789bf4c8b714._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://svario.it/gioele" + ip="2001:1418:100:262::2" + subject="Maybe using branches?" + date="2013-05-16T10:22:48Z" + content=""" +A suggestion from #git-annex: + +> <mhameed> i think others are already doing this, using branches, but not sure if we have a writeup/tutorial of it +> +> <mhameed> gioele: instead of working on master branch, switch to laptop branch, git rm the files that are not wanted and commit +> +> <gioele> mhameed: I'm lazy, I'd like git-annex to do that for me :) +"""]] -- cgit v1.2.3