UDN
Search public documentation:

DeleteQuarantinedContentCommandlet
日本語訳
中国翻译
한국어

Interested in the Unreal Engine?
Visit the Unreal Technology site.

Looking for jobs and company info?
Check out the Epic games site.

Questions about support via UDN?
Contact the UDN Staff

UE3 Home > Commandlets > Delete Quarantined Content Commandlet

Delete Quarantined Content Commandlet


Overview


Quarantining content is a method of marking assets contained within packages that have been determined to be old, invalid, or otherwise not to be used. Using the Content Browser, assets can be marked with the Quarantined tag. Marking the assets does not remove them from the packages or prevent them from being used. They must be explicitly deleted which can be an extremely cumbersome and time-consuming process if the number of assets is large and they are contained in many independent packages. The Delete Quarantined Content commandlet simplifies this process by creating a list of quarantined assets and the packages containing them and then removes any of these assets that are not referenced by anything in a controlled and safe manner.

For more information on quaratining assets and using Quarantine Mode, see the Content Browser Reference.

Running the Commandlet


To run the Delete Quarantined Content commandlet, simply pass the name of the commandlet along with any of the optional switches that determine how the commandlet functions to the executable for your game.

For example:

  UDK.exe DeleteQuarantinedContent [Optional Switches]
  

Optional Switches


-SkipFails
When present, this option causes the commandlet to continue execution if it encounters an error processing one of the packages. Without this option, execution will stop if an error occurs.
-SkipCheckout
When present, this option prevents the commandlet from checking out packages from source control that are marked as read-only.
-SkipRefChecks
When present, this option causes reference checking to be disabled during execution. This will speed up the process as reference checking takes additional time. Since referenced objects cannot be safely deleted, the RF_Standalone flag will be cleared on the quarantined objects, but you will not be warned and the garbage collector will not remove them.
-ShowReferences
When present, this option will cause object references to be displayed for referenced objects that cannot be deleted. This option is dependent on reference checking and will not work in conjunction with the -SkipRefChecks.

Example Use Case


After weeks of reviewing game assets, art directors have quarantined a large number of content. It has been decided that this content is no longer needed and should be removed. Without the Delete Quarantined Content commandlet someone would need to import each package that contains a quarantined asset. Then they would need to delete each tagged asset and then save the package.

When the Delete Quarantined Content commandlet runs, it will do all this work and ensure the content you are trying to delete is not referenced by other content.