summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.1
Commit message (Collapse)AuthorAgeFilesLines
* MFC r284105,r284106,r284163:bdrewery2015-12-041-4/+9
| | | | | | | | | | | | r284105: Cleanup some indentation issues. r284106: Implement '-s' to copy as symlink, similar to the current -l link(2) handling. r284163: Cleanup some style(9) issues. Relnotes: yes
* Add a few examples.joel2013-03-151-1/+22
| | | | Obtained from: OpenBSD
* Explicitly mention that "cp -p" copies ACLs.trasz2012-09-041-2/+2
| | | | | PR: docs/168962 MFC after: 1 month
* Implement an "-x" option to cp(1), for compatibility with Linux andgavin2010-01-171-3/+5
| | | | | | | | | | | | feature parity with du(1) and similar: When set, cp(1) will not traverse mount points. Initial patch by: Graham J Lee leeg teaching.physics.ox.ac.uk PR: bin/88056 Initial patch by: Graham J Lee leeg teaching.physics.ox.ac.uk Approved by: ed (mentor) MFC after: 1 month
* Add an '-a' option which is identical to specifying '-RpP' forjhb2008-03-101-2/+6
| | | | | | compatibility with other implementations. MFC after: 1 month
* Fix typo.ceri2006-11-021-1/+1
|
* Wording nits.trhodes2006-10-271-11/+7
|
* Flesh out the compatibility section a little bit. Bump doc date.trhodes2006-10-241-30/+20
|
* Make -r a synonym for -R, similar to behavior on Linux while being backwardstrhodes2006-10-071-3/+32
| | | | | | | | compatible with old -r behavior with regards to -L. You can now copy fifos and other special files with -r. Reviewed by: -standards (long ago), das, bde Approved by: bde (recently)
* - Fix options order.ru2006-08-251-5/+5
| | | | - Touch manpage's document date.
* Add an option to allow copying of a hierarchy while linking he regular files.julian2006-08-241-2/+4
| | | | | | Bikeshedded to death on: hackers Submitted by:andersonatcenttech.com MFC in: 1 month
* Fix a few markup nits in previous commit.trhodes2005-02-251-1/+3
| | | | Noticed by: ru, who else? :)
* Note how cp(1) handles directories ending in "/."trhodes2005-02-241-1/+5
| | | | | PR: 75774 Submitted by: Mike Meyer <mwm@mired.org> (original version)
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-161-1/+1
| | | | Sort standard sections in the (documented) preferred order.
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Clarify what -p option does.ru2003-06-071-11/+12
| | | | | | Prodded by: marcel While here, spell the "set-{user,group}-ID bit" correctly.
* Add a SIGINFO handler.mdodd2003-04-071-0/+11
|
* Bump document date for the -n option.johan2002-08-161-1/+1
| | | | Approved by: sheldonh (mentor)
* mdoc(7) police: grammar.ru2002-08-091-1/+1
|
* Add the -n option, which automatically answers "no" to the overwrite question.johan2002-07-231-3/+18
| | | | | | | PR: 7828 Suggested by: Daniel O'Connor <doconnor@gsoft.com.au> Approved by: sheldonh (mentor) MFC after: 2 weeks
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Remove whitespace at EOL.dd2001-07-151-9/+9
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Make it clear that -P is the default.ru2001-05-251-0/+1
| | | | PR: docs/27629
* In the hope of saving others from hours of tedious recovery work,mckay2001-02-041-0/+10
| | | | | document that cp still isn't very useful for recursive copies even with the -R flag. This is because hard links are broken by cp.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* brucifymharo1999-11-281-0/+4
| | | | Reviewed by: obrien
* brucify and move printf() to catch cases of special filesmharo1999-08-291-4/+2
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Add a verbose mode to show what files are being copied.mharo1999-08-261-1/+7
| | | | | | Idea taken from obrien. Reviewed by: obrien
* Various spelling/formatting changes.kris1999-05-081-4/+5
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Correct a grammatical nit and remove ambiguity about the effect ofjkoshy1998-10-131-4/+6
| | | | | | | the -p option. PR: 8229 Submitted-by: Sheldon Hearn <axl@iafrica.com>
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-061-11/+11
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Merge Lite2 mods and -Wall cleaning.steve1996-12-141-2/+2
|
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+6
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Option -f implemented (remove + create)wosch1996-03-081-7/+16
| | | | | | | | | option -f and -i are exclusive respond `Y' is equal to `y' fix usage string remove isatty(3) check Reviewed by: pst
* delete my last commitwosch1996-02-191-15/+6
| | | | Submitted by: pst, ache
* Option -f implemented (remove + create)wosch1996-02-181-7/+16
| | | | | | | option -f and -i are exclusive all flag variables initialized with zero respond `Y' is equal to `y' update usage string
* Added $Id$dg1994-09-241-0/+1
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+211
OpenPOWER on IntegriCloud