list finale files in dir to txt file

ls -1 | sed -e 's/ C.musx$//' > songs.txt

Tags: