https://wiki.psygen.org/index.php?title=Cp&feed=atom&action=history
Cp - Revision history
2024-03-28T18:33:14Z
Revision history for this page on the wiki
MediaWiki 1.41.0
https://wiki.psygen.org/index.php?title=Cp&diff=13035&oldid=prev
Admin: Created page with "cp copies files and/or directories == Command Flags == <code>-a</code> - "archive", Preserves attributes <code>-r</code> - "Recursive", copies sub-directories and files =..."
2018-01-04T19:23:44Z
<p>Created page with "cp copies files and/or directories == Command Flags == <code>-a</code> - "archive", Preserves attributes <code>-r</code> - "Recursive", copies sub-directories and files =..."</p>
<p><b>New page</b></p><div>cp copies files and/or directories<br />
<br />
== Command Flags ==<br />
<br />
<code>-a</code> - "archive", Preserves attributes<br />
<br />
<code>-r</code> - "Recursive", copies sub-directories and files<br />
<br />
<br />
== Examples ==<br />
<br />
'''Copy an entire directory and it's contents into another folder:'''<br /><br />
<code>cp -ar /backup/2018-01-03/ /backup/annual/</code><br />
<br />
'''Copy just the contents of a folder into another folder:'''<br /><br />
<code>cp -a /source/. /dest/</code></div>
Admin