Launching ilv2data with a Batch Command
You can launch ilv2data via a command line in which you can specify a number of options to perform various basic operations.
The available options, along with their description, are given below:
ilv2data [-a key[=val]] [-c] [-d key] [-h] [-i dir] [-l]
[-m key[=val]] [-u|w] [-v 0|1] file
- 
                                                    
-a key[=val] : Add option
 
Adds the data block name key to the list of resources. val specifies the file to be inserted. The default value is key.
- 
                                                    
-c : Check option
 
Checks the consistency of file.
- 
                                                    
-d key : Delete option
 
Deletes the data block key from the list of resources.
- 
                                                    
-h : Help option
 
Displays the usage of the command.
- 
                                                    
-i dir : Include option
 
Adds the directory dir to the list of paths where data block files are searched for.
- 
                                                    
-l : List option
 
Lists all data blocks available in file.
- 
                                                    
-m key[=val] : Modify option
 
Refreshes the data block key with the file val.
- 
                                                    
-u|w : Regenerate option
 
Regenerates the file file in UNIX mode (-u) or in Windows mode (-w). To find a file in the display path, use the name of the data block. Use this file if it exists, otherwise use the old definition of the data block contained in file.
- 
                                                    
-v 0|1 : Verbose option
 
Prints comments during execution if the option is set to 1. Errors and warnings are displayed even when the option is set to 0.
This command returns 0 if execution succeeds and 1 if it fails.