From f0344ecb151f943b93ccb271c9893b533f36bd26 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 2 Aug 2025 15:57:19 -0600 Subject: [PATCH] stupidfuckinscriopp --- customscripts/extension_study.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 customscripts/extension_study.sh diff --git a/customscripts/extension_study.sh b/customscripts/extension_study.sh new file mode 100644 index 0000000..8c168b2 --- /dev/null +++ b/customscripts/extension_study.sh @@ -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" \ No newline at end of file