From: frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a Date: Wed, 3 Sep 2025 14:56:19 +0000 (+0000) Subject: (no commit message) X-Git-Tag: archive/raspbian/10.20251029-1+rpi1~1^2~3^2~159 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5f14c2e50c0d5cae01b519ead5ed434e467ed426;p=git-annex.git --- diff --git a/doc/forum/How_to_export_subfolders_and_their_contents.mdwn b/doc/forum/How_to_export_subfolders_and_their_contents.mdwn new file mode 100644 index 0000000000..e85cd3df5e --- /dev/null +++ b/doc/forum/How_to_export_subfolders_and_their_contents.mdwn @@ -0,0 +1,11 @@ +Following the process explained in [[special_remotes/adb/]], I tried exporting a subfolder to the sdcard of my phone. + + git annex initremote android type=adb androiddirectory=/sdcard/Music encryption=none exporttree=yes + +The annex repository I am exporting from contains several subfolders with music albums. Using + + git annex export master:album --to=android + +results in the contents of the album folder going to the root Music folder on the remote, instead of in the Music/album folder. + +How do I create a tree that contains the subfolder itself too?