diff --git a/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote.mdwn b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote.mdwn new file mode 100644 index 0000000000..532dab61f4 --- /dev/null +++ b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote.mdwn @@ -0,0 +1,5 @@ +I import my phone apps' backups to a subdirectory via an ADB special remote and `importtree=yes` but every time I run a sync, it tries to copy files to it that are below numcopies; even those outside the relevant sub-directory. + +How can I make it so that it never tries to copy any files to it? `exporttree=no`, it will provably never work. + +Note that you can't make it want `nothing` because that also prevents import from working. diff --git a/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_1_9f8e1ac58e319540b3d9a5b9962e1f8f._comment b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_1_9f8e1ac58e319540b3d9a5b9962e1f8f._comment new file mode 100644 index 0000000000..9f6356a5f7 --- /dev/null +++ b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_1_9f8e1ac58e319540b3d9a5b9962e1f8f._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="nobodyinperson" + avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5" + subject="numcopies is no the target" + date="2023-12-17T19:04:41Z" + content=""" +Syncing doesn't work towards satisfying `numcopies`, just preferred content. So if you find files to be copied to the phone, then its preferred content matches those files. Maybe try `git annex wanted PHONE 'present or approxlackingcopies=1'` or just `git annex wanted PHONE present`. `nothing` is indeed not a good idea as that will have git-annex wanting to yank everything off the phone. +"""]] diff --git a/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_2_f398f38ff29d2e681548b1640080dff3._comment b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_2_f398f38ff29d2e681548b1640080dff3._comment new file mode 100644 index 0000000000..b171e57ba9 --- /dev/null +++ b/doc/forum/Don__39__t_copy_files_to_exporttree__61__no_remote/comment_2_f398f38ff29d2e681548b1640080dff3._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="Atemu" + avatar="http://cdn.libravatar.org/avatar/86b8c2d893dfdf2146e1bbb8ac4165fb" + subject="comment 2" + date="2023-12-18T12:08:08Z" + content=""" +`present` isn't allowed for special remotes with `importtree=yes`. +"""]] diff --git a/doc/forum/Using_git-annex_as_a_library/comment_9_6d8ebdedf76fdf0c267444a7a07e225e._comment b/doc/forum/Using_git-annex_as_a_library/comment_9_6d8ebdedf76fdf0c267444a7a07e225e._comment new file mode 100644 index 0000000000..649b836902 --- /dev/null +++ b/doc/forum/Using_git-annex_as_a_library/comment_9_6d8ebdedf76fdf0c267444a7a07e225e._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="oadams" + avatar="http://cdn.libravatar.org/avatar/ac166a5f89f10c4108e5150015e6751b" + subject="comment 9" + date="2023-12-16T21:37:21Z" + content=""" +A belated thanks for the follow-up from https://git-annex.branchable.com/forum/Using_git_annex_as_a_library/ + +Not that its useful for anyone here, but just FWIW after some more playing around I decided to keep things minimal and not depend on git-annex as a library. Although what I'm making naturally pairs well with git-annex it doesn't really require it, so adding the dependency just complicates things. +"""]]