Remove useless trash
This commit is contained in:
parent
1f81012932
commit
750ac00c88
|
@ -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 {} \;
|
||||
|
|
Loading…
Reference in New Issue