AniDB O'Matic - Documentation: Command line parameters: Difference between revisions
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The following command line options are available in AoM.6 and forward: | The following command line options are available in AoM.6 and forward: | ||
'''/basepath''' "full directory path"<br | == General parameters == | ||
This modifies the base path for all files aom creates.<br | <tt>'''/basepath''' "full directory path"</tt><br> | ||
Default: 'Local application data folder'\AniDB\AoM | This modifies the base path for all files aom creates.<br> | ||
Example: aom.exe /basepath "C:\temp" | Default: 'Local application data folder'<tt>\AniDB\AoM</tt><br> | ||
Example: <tt>aom.exe /basepath "C:\temp"</tt> | |||
<tt>'''/settings''' "full file path"</tt><br> | |||
Allows you to store your settings in a custom location.<br> | |||
Default: <tt>%basepath\settings.xml</tt><br> | |||
Example: <tt>aom.exe /settings "C:\temp\settings.xml"</tt> | |||
<tt>'''/database''' "folder name"</tt><br> | |||
Name of the subfolder AniDB cache files will be stored.<br> | |||
Default: kowai<br> | |||
Example: <tt>aom.exe /database "anidbdata"</tt><br> | |||
Synonyms: '''/db''' | |||
<tt>'''/localdatabase''' "folder name"</tt><br> | |||
Name of the subfolder user created data will be stored.<br> | |||
Default: kowai<br> | |||
Example: <tt>aom.exe /localdatabase "localdata"</tt><br> | |||
Synonyms: '''/ldb''' | |||
<tt>'''/clear''' A|L|AL</tt><br> | |||
Clears the data AoM has stored locally. Parameters: | |||
*A: Clears cached AniDB data. | |||
*L: Clears user created data. (except settings) | |||
*AL: Clears both cached AniDB data and user created data. (except settings) | |||
Example: <tt>aom.exe /clear A</tt><br> | |||
{{eyecatch|Warning|You most likely do not want to clear your user data as it is not stored by AniDB.}} | |||
== Adding files to be hashed == | |||
You can add files and folders to be hashed by passing the file/folder to <tt>aom.exe</tt>.<br> | |||
''Example 1:'' | |||
aom.exe "C:\temp\afile.avi" | |||
''Example 2:'' | |||
aom.exe "C:\temp\afile.avi" "C:\temp\afolder" "C:\temp\anotherfolder\bfile.avi" | |||
== Notes == | == Notes == | ||
< | *The 'Local application data folder' is the default windows folder applications should store data in. For example, in English Vista 64-bit this folder is "<tt>C:\Users\<Username>\AppData\Local</tt>". |
Latest revision as of 22:05, 12 May 2009
The following command line options are available in AoM.6 and forward:
General parameters
/basepath "full directory path"
This modifies the base path for all files aom creates.
Default: 'Local application data folder'\AniDB\AoM
Example: aom.exe /basepath "C:\temp"
/settings "full file path"
Allows you to store your settings in a custom location.
Default: %basepath\settings.xml
Example: aom.exe /settings "C:\temp\settings.xml"
/database "folder name"
Name of the subfolder AniDB cache files will be stored.
Default: kowai
Example: aom.exe /database "anidbdata"
Synonyms: /db
/localdatabase "folder name"
Name of the subfolder user created data will be stored.
Default: kowai
Example: aom.exe /localdatabase "localdata"
Synonyms: /ldb
/clear A|L|AL
Clears the data AoM has stored locally. Parameters:
- A: Clears cached AniDB data.
- L: Clears user created data. (except settings)
- AL: Clears both cached AniDB data and user created data. (except settings)
Example: aom.exe /clear A
Warning | You most likely do not want to clear your user data as it is not stored by AniDB. |
Adding files to be hashed
You can add files and folders to be hashed by passing the file/folder to aom.exe.
Example 1:
aom.exe "C:\temp\afile.avi"
Example 2:
aom.exe "C:\temp\afile.avi" "C:\temp\afolder" "C:\temp\anotherfolder\bfile.avi"
Notes
- The 'Local application data folder' is the default windows folder applications should store data in. For example, in English Vista 64-bit this folder is "C:\Users\<Username>\AppData\Local".