AMPXI:DoCleanup: Difference between revisions

TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 26: Line 26:


=Description=
=Description=
This doesn't actually "finalize" anything. This is used by [[AM:DoCleanup]].
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>.