npc.sh 277 B

123456789101112
  1. #!/usr/bin/env bash
  2. out=npc/scripts_custom.conf
  3. printf "\n" >> $out
  4. echo "// Custom Scripts" >> $out
  5. find npc/custom \( -name "*.txt" \) | xargs -I % echo "npc: %" >> $out
  6. echo "// Test Scripts" >> $out
  7. find npc/test \( -name "*.txt" \) | xargs -I % echo "npc: %" >> $out