stupidfuckinscriopp

This commit is contained in:
2025-08-02 15:57:19 -06:00
parent 5b53a764c0
commit f0344ecb15
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
tmp_file="./exts.tmp"
exts_study_file="./extension_study.txt"
echo "" > "$tmp_file"
find files -type f -exec bash -c "echo \"{}\" | awk -F. '{print \$NF}' | tee -a \"$tmp_file\"" \;
cat "$tmp_file" | sort | uniq > "$exts_study_file"
rm -f "$tmp_file"
echo "DONE! Saved to $exts_study_file"