From 5f14c2e50c0d5cae01b519ead5ed434e467ed426 Mon Sep 17 00:00:00 2001 From: "frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a" Date: Wed, 3 Sep 2025 14:56:19 +0000 Subject: [PATCH] --- .../How_to_export_subfolders_and_their_contents.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/How_to_export_subfolders_and_their_contents.mdwn 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? -- 2.30.2