cp.1 (b873ae5c) cp.1 (d140946c)
1.\"-
2.\" Copyright (c) 1989, 1990, 1993, 1994
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" the Institute of Electrical and Electronics Engineers, Inc.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40.Nd copy files
41.Sh SYNOPSIS
42.Nm
43.Oo
44.Fl R
45.Op Fl H | Fl L | Fl P
46.Oc
47.Op Fl f | i | n
1.\"-
2.\" Copyright (c) 1989, 1990, 1993, 1994
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" the Institute of Electrical and Electronics Engineers, Inc.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40.Nd copy files
41.Sh SYNOPSIS
42.Nm
43.Oo
44.Fl R
45.Op Fl H | Fl L | Fl P
46.Oc
47.Op Fl f | i | n
48.Op Fl lpv
48.Op Fl alpv
49.Ar source_file target_file
50.Nm
51.Oo
52.Fl R
53.Op Fl H | Fl L | Fl P
54.Oc
55.Op Fl f | i | n
49.Ar source_file target_file
50.Nm
51.Oo
52.Fl R
53.Op Fl H | Fl L | Fl P
54.Oc
55.Op Fl f | i | n
56.Op Fl lpv
56.Op Fl alpv
57.Ar source_file ... target_directory
58.Sh DESCRIPTION
59In the first synopsis form, the
60.Nm
61utility copies the contents of the
62.Ar source_file
63to the
64.Ar target_file .

--- 46 unchanged lines hidden (view full) ---

111.Nm
112copies hard linked files as separate files.
113If you need to preserve hard links, consider using
114.Xr tar 1 ,
115.Xr cpio 1 ,
116or
117.Xr pax 1
118instead.
57.Ar source_file ... target_directory
58.Sh DESCRIPTION
59In the first synopsis form, the
60.Nm
61utility copies the contents of the
62.Ar source_file
63to the
64.Ar target_file .

--- 46 unchanged lines hidden (view full) ---

111.Nm
112copies hard linked files as separate files.
113If you need to preserve hard links, consider using
114.Xr tar 1 ,
115.Xr cpio 1 ,
116or
117.Xr pax 1
118instead.
119.It Fl a
120Archive mode.
121Same as
122.Fl RpP .
119.It Fl f
120For each existing destination pathname, remove it and
121create a new file, without prompting for confirmation
122regardless of its permissions.
123(The
124.Fl f
125option overrides any previous
126.Fl i

--- 168 unchanged lines hidden ---
123.It Fl f
124For each existing destination pathname, remove it and
125create a new file, without prompting for confirmation
126regardless of its permissions.
127(The
128.Fl f
129option overrides any previous
130.Fl i

--- 168 unchanged lines hidden ---