push folder restructuring

This commit is contained in:
Gokul Mohanarangan
2023-07-10 20:13:58 +05:30
parent 4e32cfb1bd
commit acf0d9e9e2
5 changed files with 22 additions and 7 deletions

15
scripts/clear_artefacts.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/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="*.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