Files
reflector/scripts/clear_artefacts.sh
Gokul Mohanarangan 73c4270764 minor refactor
2023-07-10 22:40:58 +05:30

16 lines
504 B
Bash
Executable File

#!/bin/bash
# Directory to search for Python files
directory="."
# Pattern to match Python files (e.g., "*.py" for all .py files)
text_file_pattern="transcript_*.txt"
pickle_file_pattern="*.pkl"
html_file_pattern="*.html"
png_file_pattern="wordcloud*.png"
find "$directory" -type f -name "$text_file_pattern" -delete
find "$directory" -type f -name "$pickle_file_pattern" -delete
find "$directory" -type f -name "$html_file_pattern" -delete
find "$directory" -type f -name "$png_file_pattern" -delete