diff options
author | Joel Dahl <joel@FreeBSD.org> | 2013-03-15 20:12:54 +0000 |
---|---|---|
committer | Joel Dahl <joel@FreeBSD.org> | 2013-03-15 20:12:54 +0000 |
commit | e9e3a1ab1fb5cad58704a28dc528be8c075d32d8 (patch) | |
tree | 33ce444ce5867809f8179d3cfcb13267eb94e1c0 /bin/cp | |
parent | 302868d91418dc0688773d9c7293b72c0862ed7d (diff) | |
download | src-test2-e9e3a1ab1fb5cad58704a28dc528be8c075d32d8.tar.gz src-test2-e9e3a1ab1fb5cad58704a28dc528be8c075d32d8.zip |
Notes
Diffstat (limited to 'bin/cp')
-rw-r--r-- | bin/cp/cp.1 | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index 8c014b437e51..169f350cc0bc 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -32,7 +32,7 @@ .\" @(#)cp.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd September 4, 2012 +.Dd March 15, 2013 .Dt CP 1 .Os .Sh NAME @@ -251,6 +251,27 @@ signal, the current input and output file and the percentage complete will be written to the standard output. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +Make a copy of file +.Pa foo +named +.Pa bar : +.Pp +.Dl $ cp foo bar +.Pp +Copy a group of files to the +.Pa /tmp +directory: +.Pp +.Dl $ cp *.txt /tmp +.Pp +Copy the directory +.Pa junk +and all of its contents (including any subdirectories) to the +.Pa /tmp +directory: +.Pp +.Dl $ cp -R junk /tmp .Sh COMPATIBILITY Historic versions of the .Nm |