To delete files and tables selectively by object type and criteria

About this task

unica_acclean -d -w {flowchart | campaign | session | sessionfolder | campaignfolder} -s <criteria> [-r]

Examples

Example 1: Delete temp files and tables by campaign folder

unica_acclean -d -w campaignfolder -s "NAME='JanuaryCampaigns'" -r

This example deletes temporary files and tables associated with campaigns and flowcharts in the campaign folder named "JanuaryCampaigns", as well as to all subfolders of "JanuaryCampaigns".

Example 2: delete temp files and tables by flowchart LASTRUNENDDATE

unica_acclean -d -w flowchart -s "LASTRUNENDDATE < '31-Dec-06'"

This example deletes all temp files and tables with LASTRUNENDDATE earlier than December 31, 2006, in all flowcharts.

Important: Make sure that any date criteria are specified in the correct date format for your database.