summary refs log tree commit diff stats
path: root/src/org/export.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/export.sh')
-rwxr-xr-xsrc/org/export.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/export.sh b/src/org/export.sh
new file mode 100755
index 0000000..a6ca475
--- /dev/null
+++ b/src/org/export.sh
@@ -0,0 +1,8 @@
+#!/usr/local/bin/bash
+
+# Set the directory to search (replace with your actual path)
+TARGET_DIR="."
+
+# Function to process each .org file
+# Find all .org files recursively
+find "$TARGET_DIR" -type f -name "*.org" -exec emacs {} --batch -f org-html-export-to-html --kill \;