Skip to content
Snippets Groups Projects
Verified Commit e11080a8 authored by jonahbeneb02's avatar jonahbeneb02
Browse files

fuclean: Also delete empty files created by new grade tool

parent 8ba75cb7
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,9 @@ fi ...@@ -7,7 +7,9 @@ fi
# Delete empty comments.txts so we can more easily delete empty directories. # Delete empty comments.txts so we can more easily delete empty directories.
# Otherwise they would still contain this one empty file. # Otherwise they would still contain this one empty file.
find . -type f -name "comments.txt" -empty -delete; for pattern in "comments.txt" "feedbackText.html" "*_submissionText.html"; do
find . -type f -name "$pattern" -empty -delete;
done
# Delete all empty directories in the directory containing grades.csv # Delete all empty directories in the directory containing grades.csv
find . -type d -empty -delete find . -type d -empty -delete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment