1

Need help how to create a file (xml) list all files from directory

view story
linux-howto

http://www.unix.com – I have more than 10K songs in two directories on a hard drive. I would like to create a file list all of files name then change to .xml extension to upload to iPhone so I have a Karaoke list on my iPhone. I need your help to create a file by using command in Linux. Files names: 0001 More Than I Can Say.vob 0002 Morning Has Broken.vob .... 0010 Unchained Melody.vob 1-Here are my two small directories called Directory-1 and Directory-2 with .vob files. Directory-1: total 0 -rw-r--r-- 1 root root 0 2012-10-14 11:15 0001 More Than I Can Say.vob -rw-r--r-- 1 root root 0 2012-10-14 11:20 0002 (HowTos)