amarokcollectionscanner --version (return code: 0)
2.8.0
amarokcollectionscanner --help (return code: 0)
Amarok Collection Scanner
Scans directories and outputs a xml file with the results.
For more information see http://community.kde.org/Amarok/Development/BatchMode
Usage: amarokcollectionscanner [options] <Folder(s)>
User-modifiable Options:
<Folder(s)> : list of folders to scan
-h, --help : This help text
-v, --version : Print the version of this tool
-r, --recursive : Scan folders recursively
-i, --incremental : Incremental scan (modified folders only)
-s, --restart : After a crash, restart the scanner in its last position
--idlepriority : Run at idle priority
--sharedmemory <key> : A shared memory segment to be used for restarting a scan
--newer <path> : Only scan directories if modification time is newer than <path>
Only useful in incremental scan mode
--batch <path> : Add the directories from the batch xml file
batch file format should look like this:
<scanner>
<directory>
<path>/absolute/path/of/directory</path>
<mtime>1234</mtime> (this is optional)
</directory>
</scanner>
You can also use a previous scan result for that.