AMPXI:DoCleanup: Difference between revisions

Steveice10 (talk | contribs)
TimmSkiller (talk | contribs)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 24: Line 24:
| Result code
| Result code
|}
|}
=Description=
Used by [[AM:DoCleanup]].
This command checks the import.db on the specified media. All titles in the import.db that are not marked as pending (i.e. fully installed but not transferred to title.db) are deleted using the same internal code [[AMPXI:DeleteTitle]] uses.
For NAND, in addition to the above, the first thing this command does is recursively removing all directories under <code>nand:/data</code> that don't match the system ID0 (that is, all directories that are not <code>nand:/data/<ID0></code>. This deletion step, however, is not performed if a file exists at <code>nand:/data/disabled</code>.