Remove useless trash

This commit is contained in:
Crystal 2024-05-13 21:32:01 +01:00
parent 1f81012932
commit 750ac00c88
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
# Set the directory to search (replace with your actual path)
TARGET_DIR="."
ROOT_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 \;
find "$ROOT_DIR" -type f -name "*~" -exec rm {} \;