summary refs log tree commit diff stats
path: root/src/org/export.sh
diff options
context:
space:
mode:
authorCrystal <crystal@wizard.tower>2024-04-19 20:02:21 +0100
committerCrystal <crystal@wizard.tower>2024-04-19 20:02:21 +0100
commitbb6dfe8cd2675247e52f91ea516d8a64955a8b5e (patch)
tree54d05c50302e2f1d135fc3b6c5eae368158c828a /src/org/export.sh
parentc57faaef3f3e792fab140fafdf43fc215ad6193c (diff)
downloadwww-bb6dfe8cd2675247e52f91ea516d8a64955a8b5e.tar.gz
Remove junk (html files) preparing for git exports
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 \;