<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.os4x.com/index.php?action=history&amp;feed=atom&amp;title=OS4X_plugin_os4xplugin_delete_specific_file</id>
	<title>OS4X plugin os4xplugin delete specific file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.os4x.com/index.php?action=history&amp;feed=atom&amp;title=OS4X_plugin_os4xplugin_delete_specific_file"/>
	<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_delete_specific_file&amp;action=history"/>
	<updated>2026-05-13T07:52:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_delete_specific_file&amp;diff=4114&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Plugins == Purpose ==  Identify file(s) of a job with regular expression and do the configurable operation: *keep *delete  Deletion can be done logically (only in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_delete_specific_file&amp;diff=4114&amp;oldid=prev"/>
		<updated>2026-05-12T19:07:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/Category:Plugins&quot; title=&quot;Category:Plugins&quot;&gt;Category:Plugins&lt;/a&gt; == Purpose ==  Identify file(s) of a job with regular expression and do the configurable operation: *keep *delete  Deletion can be done logically (only in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Plugins]]&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
Identify file(s) of a job with regular expression and do the configurable operation:&lt;br /&gt;
*keep&lt;br /&gt;
*delete&lt;br /&gt;
&lt;br /&gt;
Deletion can be done logically (only in the job) or also physically (deleted on the filesystem).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* File &amp;lt;code&amp;gt;/etc/os4x.conf&amp;lt;/code&amp;gt; or configuration file in the environment variable &amp;lt;code&amp;gt;$OS4X_CFGFILE&amp;lt;/code&amp;gt;. The license file is obtained from the database configured here.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
[[File:Bildschirmfoto 2026-05-12 um 21.05.19.png]]&lt;br /&gt;
&lt;br /&gt;
*Regular expression for identifying files: The regular expression (PCRE) used for identifying a file. The rule will be applied to the absolute path of a file.&lt;br /&gt;
*Really delete file from filesystem: If enabled, the file itself is being deleted on the filesystem.&lt;br /&gt;
*Enable debug output: When enabled, more debug output will be printed out.&lt;br /&gt;
*Invert logic: delete all non-matching files:&lt;br /&gt;
**If disabled (default): only files matching the regular expression will be deleted.&lt;br /&gt;
**If enabled: only files &amp;#039;&amp;#039;&amp;#039;NOT&amp;#039;&amp;#039;&amp;#039; matching the regular expression will be deleted.&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
*0: everything OK&lt;br /&gt;
*1: number of parameters != 1; Config file &amp;lt;code&amp;gt;/etc/os4x.conf&amp;lt;/code&amp;gt; not found; Config in database not readable; license not valid; XML file invalid&lt;br /&gt;
*all others: return value of the &amp;quot;unlink&amp;quot; function. The output on the standard output contains a system-side textual interpretation of the error.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>