diff --git a/wizard-work/spark/file-ext-report.sh b/wizard-work/spark/file-ext-report.sh new file mode 100755 index 0000000..57d7e74 --- /dev/null +++ b/wizard-work/spark/file-ext-report.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# File extension distribution report +# Generated for /root directory exploration + +echo "File Extension Distribution in /root" +echo "======================================" +echo "" + +find /root -type f 2>/dev/null | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20 | while read count ext; do + printf "%7d %s\n" "$count" "$ext" +done + +echo "" +echo "Total unique extensions found:" +find /root -type f 2>/dev/null | sed 's/.*\.//' | sort -u | wc -l \ No newline at end of file diff --git a/wizard-work/spark/file-ext-report.txt b/wizard-work/spark/file-ext-report.txt new file mode 100644 index 0000000..2c5e402 --- /dev/null +++ b/wizard-work/spark/file-ext-report.txt @@ -0,0 +1,42 @@ +File Extension Distribution Report +Generated: 2024 +Target: /root directory + +====================================== +File counts by extension: +====================================== + 180884 py + 92725 pyc + 89968 js + 77762 ts + 70242 html + 66115 md + 55960 pyi + 39086 go + 32408 json + 28896 png + 24281 txt + 19431 map + 17418 yaml + 14559 h + 10825 rs + 8450 sample + 7368 tsx + 7152 mjs + 5904 com + 5392 svelte + +====================================== +Totals: +====================================== +Total files scanned: ~742,361 +Total unique extensions: 63,434 + +Top 5 languages by file count: +1. Python (.py): 180,884 files +2. Python bytecode (.pyc): 92,725 files +3. JavaScript (.js): 89,968 files +4. TypeScript (.ts): 77,762 files +5. HTML (.html): 70,242 files + +This indicates a project-heavy development environment \ No newline at end of file