There are two places you can script out your schema objects in Minion.  The default is to script them to the Collector. DBObjectScripts table, and the second option is to script them to text files.  And while the table can be purged on a schedule using the Archive.Config table, what about the text files?  When do they get purged?  Well, there’s a separate process that handles the text file purging and it’s run by the DBScriptPurge job which runs the DBScriptPurge.exe in the Collector folder.
By default this purge routine uses the value from Archive.Config for the DBObjectScripts table so that both the table data and the file data are purged on the same schedule.  However, you can override that at the job level by passing in the @Days parameter to the script inside the job, or anywhere else you want to call it from.  So say you want to delete the files after 7 days.  You would enter the following in Powershell: ./DBScriptPurge.exe 7
Currently you can’t keep individual servers longer than others using this process.  This process purges all servers and databases in the script folder.  If you want different retention periods for longer-term storage then you’ll need to setup a routine to copy those files to another directory and then purge them with a different process.