mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
push folder restructuring
This commit is contained in:
15
scripts/clear_artefacts.sh
Executable file
15
scripts/clear_artefacts.sh
Executable 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
|
||||
Reference in New Issue
Block a user