AniDB O'Matic - Documentation: Command line parameters: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
Default: kowai<br />
Default: kowai<br />
Example: aom.exe /database "anidbdata"<br />
Example: aom.exe /database "anidbdata"<br />
Synonyms: '''/db'''
Synonyms: '''/db'''<br />
<br />
<br />
'''/localdatabase''' "folder name"<br />
'''/localdatabase''' "folder name"<br />
Line 21: Line 21:
Default: kowai<br />
Default: kowai<br />
Example: aom.exe /localdatabase "localdata"<br />
Example: aom.exe /localdatabase "localdata"<br />
Synonyms: '''/ldb'''
Synonyms: '''/ldb'''<br />
 
<br />
'''/clear''' A|L|AL<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: aom.exe /clear A<br />
'''Warning: You most likely do not want to clear your user data as it is not stored by AniDB.'''<br />


== 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 "C:\Users\<Username>\AppData\Local".
*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".

Revision as of 15:49, 19 July 2008

The following command line options are available in AoM.6 and forward:

/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.

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".