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

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:


== General parameters ==
== General parameters ==
'''/basepath''' "full directory path"<br />
<tt>'''/basepath''' "full directory path"</tt><br>
This modifies the base path for all files aom creates.<br />
This modifies the base path for all files aom creates.<br>
Default: 'Local application data folder'\AniDB\AoM<br />
Default: 'Local application data folder'<tt>\AniDB\AoM</tt><br>
Example: aom.exe /basepath "C:\temp"<br />
Example: <tt>aom.exe /basepath "C:\temp"</tt>
<br />
 
'''/settings''' "full file path"<br />
 
Allows you to store your settings in a custom location.<br />
<tt>'''/settings''' "full file path"</tt><br>
Default: %basepath\settings.xml<br />
Allows you to store your settings in a custom location.<br>
Example: aom.exe /settings "C:\temp\settings.xml"<br />
Default: <tt>%basepath\settings.xml</tt><br>
<br />
Example: <tt>aom.exe /settings "C:\temp\settings.xml"</tt>
'''/database''' "folder name"<br />
 
Name of the subfolder AniDB cache files will be stored.<br />
 
Default: kowai<br />
<tt>'''/database''' "folder name"</tt><br>
Example: aom.exe /database "anidbdata"<br />
Name of the subfolder AniDB cache files will be stored.<br>
Synonyms: '''/db'''<br />
Default: kowai<br>
<br />
Example: <tt>aom.exe /database "anidbdata"</tt><br>
'''/localdatabase''' "folder name"<br />
Synonyms: '''/db'''
Name of the subfolder user created data will be stored.<br />
 
Default: kowai<br />
 
Example: aom.exe /localdatabase "localdata"<br />
<tt>'''/localdatabase''' "folder name"</tt><br>
Synonyms: '''/ldb'''<br />
Name of the subfolder user created data will be stored.<br>
<br />
Default: kowai<br>
'''/clear''' A|L|AL<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:
Clears the data AoM has stored locally. Parameters:
*A: Clears cached AniDB data.
*A: Clears cached AniDB data.
*L: Clears user created data. (except settings)
*L: Clears user created data. (except settings)
*AL: Clears both cached AniDB data and user created data. (except settings)
*AL: Clears both cached AniDB data and user created data. (except settings)
Example: aom.exe /clear A<br />
Example: <tt>aom.exe /clear A</tt><br>
'''Warning: You most likely do not want to clear your user data as it is not stored by AniDB.'''<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 ==
== Adding files to be hashed ==
You can add files and folders to be hashed by passing the file/folder to aom.exe.<br />
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"<br />
''Example 1:''
Example 2: aom.exe "C:\temp\afile.avi" "C:\temp\afolder" "C:\temp\anotherfolder\bfile.avi"<br />
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 "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 "<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".