Script that will help you to convert different types of files
USER:~/Desktop$ bash xml2csv.sh numbers.xml books.xml My_Movies/
Converting: "numbers.xml"... SUCCESS
Converting: "books.xml"... SUCCESS
ERROR: My_Movies/ is not a file
USER:~/Desktop$