diff options
author | Crystal <crystal@wizard.tower> | 2024-04-19 20:02:21 +0100 |
---|---|---|
committer | Crystal <crystal@wizard.tower> | 2024-04-19 20:02:21 +0100 |
commit | bb6dfe8cd2675247e52f91ea516d8a64955a8b5e (patch) | |
tree | 54d05c50302e2f1d135fc3b6c5eae368158c828a /src/org/export.sh | |
parent | c57faaef3f3e792fab140fafdf43fc215ad6193c (diff) | |
download | www-bb6dfe8cd2675247e52f91ea516d8a64955a8b5e.tar.gz |
Remove junk (html files) preparing for git exports
Diffstat (limited to 'src/org/export.sh')
-rwxr-xr-x | src/org/export.sh | 8 |
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 \; |