<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Cp</id>
		<title>Cp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Cp"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Cp&amp;action=history"/>
		<updated>2026-04-04T04:15:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php?title=Cp&amp;diff=4687&amp;oldid=prev</id>
		<title>Jimbo at 00:43, 13 September 2004</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php?title=Cp&amp;diff=4687&amp;oldid=prev"/>
				<updated>2004-09-13T00:43:46Z</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;'''cp''' - used to copy files or directories from one location to another.  Commonly-used flags include '''-r''' (recursive) and '''-p''' (preserve owner/group/timestamps as allowed).  For example:&lt;br /&gt;
&lt;br /&gt;
 ph34r# '''cp -rp /home/jimbo /home/dave'''&lt;br /&gt;
&lt;br /&gt;
Would copy the directory /home/jimbo and all of its contents to /home/dave, and preserve ownership, group ownership, and file modification timestamps on everything copied.  NOTE: -p is generally useless unless you are running under [[root]] context; in most cases only root can arbitrarily set ownership and access times at will.&lt;br /&gt;
&lt;br /&gt;
Compare [[mv]].&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	</feed>