<?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_filemove_archive</id>
	<title>OS4X plugin os4xplugin filemove archive - 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_filemove_archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_filemove_archive&amp;action=history"/>
	<updated>2026-04-09T22:49:11Z</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_filemove_archive&amp;diff=3653&amp;oldid=prev</id>
		<title>Admin: /* Examples */</title>
		<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_filemove_archive&amp;diff=3653&amp;oldid=prev"/>
		<updated>2022-03-15T19:10:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:10, 15 March 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot; &gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All examples rely on an outgoing job 76 from and to the company &amp;quot;c-works&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All examples rely on an outgoing job 76 from and to the company &amp;quot;c-works&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;opt&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;os4x/tmp&lt;/del&gt;/%r/os4x_job_%j/&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mnt&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;archive&lt;/ins&gt;/%r/os4x_job_%j/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;renders to:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;renders to:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;opt&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;os4x/tmp&lt;/del&gt;/c-works/os4x_job_76&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mnt&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;archive&lt;/ins&gt;/c-works/os4x_job_76&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;opt&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;os4x/tmp&lt;/del&gt;/%D/%r/%j&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mnt&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;archive&lt;/ins&gt;/%D/%r/%j&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;renders to:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;renders to:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;opt&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;os4x/tmp&lt;/del&gt;/outgoing/c-works/76&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  /&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mnt&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;archive&lt;/ins&gt;/outgoing/c-works/76&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Return values ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Return values ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_filemove_archive&amp;diff=3652&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Plugins == Puropose ==  Move all files of a job into a defined target archive directory. If no target directory is configured, the plugin skips its execution.  ==...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.os4x.com/index.php?title=OS4X_plugin_os4xplugin_filemove_archive&amp;diff=3652&amp;oldid=prev"/>
		<updated>2022-03-15T19:07:14Z</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; == Puropose ==  Move all files of a job into a defined target archive directory. If no target directory is configured, the plugin skips its execution.  ==...&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;
== Puropose ==&lt;br /&gt;
&lt;br /&gt;
Move all files of a job into a defined target archive directory. If no target directory is configured, the plugin skips its execution.&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 pointed to in environment variable &amp;lt;code&amp;gt;$OS4X_CFGFILE&amp;lt;/code&amp;gt;. Via the used configuration file, the information are retrieved used by the plugin (such as default configuration etc.).&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
The target directory can be set up to contain variables. These variables are exchanged by runtime information of the OS4X job, in which context the plugin is run.&lt;br /&gt;
&lt;br /&gt;
The usable variables are:&lt;br /&gt;
*%j: job number&lt;br /&gt;
*%d: day of job creation (two digits)&lt;br /&gt;
*%m: month of job creation (two digits)&lt;br /&gt;
*%Y: year of job creation (four digits)&lt;br /&gt;
*%H: hour of job creation (two digits, 24h format)&lt;br /&gt;
*%M: minute of job creation (two digits)&lt;br /&gt;
*%S: second of job creation (two digits)&lt;br /&gt;
*%D: job direction: &amp;quot;&amp;lt;code&amp;gt;incoming&amp;lt;/code&amp;gt;&amp;quot; or &amp;quot;&amp;lt;code&amp;gt;outgoing&amp;lt;/code&amp;gt;&amp;quot;&lt;br /&gt;
*%r: recipient partner shortname&lt;br /&gt;
*%s: sender partner shortname&lt;br /&gt;
*%t: recipient location name&lt;br /&gt;
*%u: recipient department name&lt;br /&gt;
*%v: recipient first name&lt;br /&gt;
*%w: recipient family name&lt;br /&gt;
*%x: recipient address code&lt;br /&gt;
*%g: sender location name&lt;br /&gt;
*%h: sender department name&lt;br /&gt;
*%i: sender first name&lt;br /&gt;
*%J: sender family name&lt;br /&gt;
*%k: sender address code&lt;br /&gt;
*%e: depending on the job direction, the company shortname of the external communication partner:&lt;br /&gt;
**incoming jobs: sender&amp;#039;s company shortname (= &amp;quot;&amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt;&amp;quot;)&lt;br /&gt;
**outgoing jobs or undefined job direction: recipient&amp;#039;s company shortname (= &amp;quot;&amp;lt;code&amp;gt;%r&amp;lt;/code&amp;gt;&amp;quot;)&lt;br /&gt;
*%a: ENGDAT Message Reference [UNH0062] (if available, otherwise empty)&lt;br /&gt;
*%b: ENGDAT Document Number [MID1004] (if available, otherwise empty)&lt;br /&gt;
*%y: recipient&amp;#039;s username (&amp;quot;unknown&amp;quot; if empty)&lt;br /&gt;
*%l: sender&amp;#039;s username (&amp;quot;unknown&amp;quot; if empty)&lt;br /&gt;
*%p: sender partner&amp;#039;s event parameter&lt;br /&gt;
*%P: recipient partner&amp;#039;s event parameter&lt;br /&gt;
*%Q: depending on the job direction, the event parameter of the external communication partner:&lt;br /&gt;
**incoming jobs: sender&amp;#039;s event parameter (= &amp;quot;&amp;lt;code&amp;gt;%p&amp;lt;/code&amp;gt;&amp;quot;)&lt;br /&gt;
**outgoing jobs or undefined job direction: recipient&amp;#039;s company shortname (= &amp;quot;&amp;lt;code&amp;gt;%P&amp;lt;/code&amp;gt;&amp;quot;)&lt;br /&gt;
*%A: job year (short, two digits)&lt;br /&gt;
*%%: represents the character &amp;quot;&amp;lt;code&amp;gt;%&amp;lt;/code&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
All examples rely on an outgoing job 76 from and to the company &amp;quot;c-works&amp;quot;&lt;br /&gt;
 /opt/os4x/tmp/%r/os4x_job_%j/&lt;br /&gt;
renders to:&lt;br /&gt;
 /opt/os4x/tmp/c-works/os4x_job_76&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
 /opt/os4x/tmp/%D/%r/%j&lt;br /&gt;
renders to:&lt;br /&gt;
 /opt/os4x/tmp/outgoing/c-works/76&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
*0: everything OK&lt;br /&gt;
*1: Configfile (/etc/os4x.conf or value of environment variable &amp;quot;&amp;lt;code&amp;gt;OS4X_CFGFILE&amp;lt;/code&amp;gt;&amp;quot;, read in as file) cannot be found or database unavailable.&lt;br /&gt;
*2: License error&lt;br /&gt;
*3: XML parameter file cannot be parsed&lt;br /&gt;
*4: Files cannot be moved&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>