<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Pax</id>
		<title>Pax - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Pax"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Pax&amp;action=history"/>
		<updated>2026-05-03T23:27:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Pax&amp;diff=5636&amp;oldid=prev</id>
		<title>Christoph: /* Examples */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Pax&amp;diff=5636&amp;oldid=prev"/>
				<updated>2012-07-06T04:20:44Z</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='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:20, 6 July 2012&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-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Update (and list) only those files in the destination directory &amp;lt;code&amp;gt;/backup&amp;lt;/code&amp;gt; which are older (less recent inode change or file modification times) than files with the same name found in the source file tree home:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Update (and list) only those files in the destination directory &amp;lt;code&amp;gt;/backup&amp;lt;/code&amp;gt; which are older (less recent inode change or file modification times) than files with the same name found in the source file tree home:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;$ &lt;/del&gt;pax -r -w -v -Y -Z home /backup&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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; &lt;/ins&gt;pax -r -w -v -Y -Z home /backup&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Pax&amp;diff=3422&amp;oldid=prev</id>
		<title>Christoph at 01:00, 28 February 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Pax&amp;diff=3422&amp;oldid=prev"/>
				<updated>2007-02-28T01:00:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''pax''' - read and write file archives and copy directory hierarchies. A POSIX File System Archiver. It supports the two most common forms of standard Unix archive (backup) files: [[cpio]] and [[tar]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
*Copy the contents of the current directory to the device &amp;lt;code&amp;gt;/dev/rst0&amp;lt;/code&amp;gt;:&lt;br /&gt;
 pax -w -f /dev/rst0 .&lt;br /&gt;
&lt;br /&gt;
*Give the verbose table of contents for an archive stored in &amp;lt;code&amp;gt;filename&amp;lt;/code&amp;gt;:&lt;br /&gt;
 pax -v -f filename&lt;br /&gt;
&lt;br /&gt;
*This sequence of commands will copy the entire &amp;lt;code&amp;gt;olddir&amp;lt;/code&amp;gt; directory hierarchy to &amp;lt;code&amp;gt;newdir&amp;lt;/code&amp;gt;:&lt;br /&gt;
 mkdir newdir cd olddir pax -rw . newdir&lt;br /&gt;
&lt;br /&gt;
*Read the archive &amp;lt;code&amp;gt;a.pax&amp;lt;/code&amp;gt; with all files rooted in &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; into the archive extracted relative to the current directory:&lt;br /&gt;
 pax -r -s ',^//*usr//*,,' -f a.pax&lt;br /&gt;
&lt;br /&gt;
*Can be used to interactively select the files to copy from the current directory to &amp;lt;code&amp;gt;dest_dir&amp;lt;/code&amp;gt;:&lt;br /&gt;
 pax -rw -i . dest_dir&lt;br /&gt;
&lt;br /&gt;
*Extract all files from the archive &amp;lt;code&amp;gt;a.pax&amp;lt;/code&amp;gt; which are owned by root with group bin and preserve all file permissions:&lt;br /&gt;
 pax -r -pe -U root -G bin -f a.pax&lt;br /&gt;
&lt;br /&gt;
*Update (and list) only those files in the destination directory &amp;lt;code&amp;gt;/backup&amp;lt;/code&amp;gt; which are older (less recent inode change or file modification times) than files with the same name found in the source file tree home:&lt;br /&gt;
$ pax -r -w -v -Y -Z home /backup&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Mt (command)|mt]]&lt;br /&gt;
*[[tar]]&lt;br /&gt;
*[[cpio]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*ftp://ftp.suse.com/pub/people/kukuk/pax/&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Command Line Tools]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>