stupidfuckinscriopp
This commit is contained in:
1 parent
f0344ecb15
commit
237a03fb26
1 file changed
+1
-1
@@ -3,7 +3,7 @@ tmp_file="./exts.tmp"
|
|||||||
exts_study_file="./extension_study.txt"
|
exts_study_file="./extension_study.txt"
|
||||||
|
|
||||||
echo "" > "$tmp_file"
|
echo "" > "$tmp_file"
|
||||||
find files -type f -exec bash -c "echo \"{}\" | awk -F. '{print \$NF}' | tee -a \"$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"
|
cat "$tmp_file" | sort | uniq > "$exts_study_file"
|
||||||
rm -f "$tmp_file"
|
rm -f "$tmp_file"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user