Content:If you find any errors or mistakes, please let me know. |
ScriptsYou can find here my greater UNIX scripts. I'm not going to present here every oneliner. Actualy there is only one script, but I hope, that there will be more scripts one day. XMLTreeXMLTree is a script, which traverse through directory tree and create XML file for each directory. One possible way how to use it is to create database of you MP3 CDs. I also use it for that. I've writen also one simple script, which produce XML containing informations from ID3 tag of MP3. If I use both of them together I receive directory structure same as on CD containing all necessary informations. And I can browse them with any XML browser. To find some mp3, I can just use grep ;-) What about syntax? I'll give you an example. This is how I use it to add new CD into my database: xmltree --root mp3-1.xml --style "../mp3.css" --store ~/mp3/mp3-1/ -e mp3toxml --verbose /mnt/cdrom/
This example asume that script mp3toxml is in path and all mentioned directories exists. If I execute in directory ~/mp3 script again with following parameters: xmltree --root cd.xml --style "./cd.css" --recoff --verbose ./
I will get file cd.xml in directory ~/mp3. In this file will be list of aviable CDs and I can bookmark it and browse whole my colection ;-) Options:
|