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

From AniDB
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 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<br />
This modifies the base path for all files aom creates.<br>
Example: aom.exe /basepath "C:\temp"<br />
Default: 'Local application data folder'<tt>\AniDB\AoM</tt><br>
<br />
Example: <tt>aom.exe /basepath "C:\temp"</tt>
'''/settings''' "full file path"<br />
 
Allows you to store your settings in a custom location.<br />
 
Default: %basepath\settings.xml<br />
<tt>'''/settings''' "full file path"</tt><br>
Example: aom.exe /settings "C:\temp\settings.xml"<br />
Allows you to store your settings in a custom location.<br>
<br />
Default: <tt>%basepath\settings.xml</tt><br>
'''/database''' "folder name"<br />
Example: <tt>aom.exe /settings "C:\temp\settings.xml"</tt>
Name of the subfolder anidb cache files will be stored.<br />
 
Default: kowai<br />
 
Example: aom.exe /database "anidbdata"<br />
<tt>'''/database''' "folder name"</tt><br>
Synonyms: '''/db'''<br />
Name of the subfolder AniDB cache files will be stored.<br>
<br />
Default: kowai<br>
'''/localdatabase''' "folder name"<br />
Example: <tt>aom.exe /database "anidbdata"</tt><br>
Name of the subfolder user created data will be stored.<br />
Synonyms: '''/db'''
Default: kowai<br />
 
Example: aom.exe /localdatabase "localdata"<br />
 
Synonyms: '''/ldb'''<br />
<tt>'''/localdatabase''' "folder name"</tt><br>
<br />
Name of the subfolder user created data will be stored.<br>
'''/clear''' A|L|AL<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:
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 ==
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 "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".