(no commit message)
authorfrederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a <frederik@web>
Wed, 3 Sep 2025 14:56:19 +0000 (14:56 +0000)
committeradmin <admin@branchable.com>
Wed, 3 Sep 2025 14:56:19 +0000 (14:56 +0000)
doc/forum/How_to_export_subfolders_and_their_contents.mdwn [new file with mode: 0644]

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 (file)
index 0000000..e85cd3d
--- /dev/null
@@ -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?