Changeset View
Changeset View
Standalone View
Standalone View
bin/cp/cp.1
| Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | |||||
| in the copy's permissions. | in the copy's permissions. | ||||
| If the source file has its set-group-ID bit on and the group ID cannot | If the source file has its set-group-ID bit on and the group ID cannot | ||||
| be preserved, the set-group-ID bit is not preserved | be preserved, the set-group-ID bit is not preserved | ||||
| in the copy's permissions. | in the copy's permissions. | ||||
| If the source file has both its set-user-ID and set-group-ID bits on, | If the source file has both its set-user-ID and set-group-ID bits on, | ||||
| and either the user ID or group ID cannot be preserved, neither | and either the user ID or group ID cannot be preserved, neither | ||||
| the set-user-ID nor set-group-ID bits are preserved in the copy's | the set-user-ID nor set-group-ID bits are preserved in the copy's | ||||
| permissions. | permissions. | ||||
| .It Fl -sort | |||||
| Visit and traverse sources in (non-localized) lexicographical order. | |||||
| Normally, | |||||
| .Nm | |||||
| visits the sources in the order they were listed on the command line, | |||||
| and if recursing, traverses their contents in whichever order they | |||||
| were returned in by the kernel, which may be the order in which they | |||||
| were created, lexicographical order, or something else entirely. | |||||
| With | |||||
| .Fl -sort , | |||||
| the sources are both visited and traversed in lexicographical order. | |||||
| This is mostly useful for testing. | |||||
| .It Fl s , Fl -symbolic-link | .It Fl s , Fl -symbolic-link | ||||
| Create symbolic links to regular files in a hierarchy instead of copying. | Create symbolic links to regular files in a hierarchy instead of copying. | ||||
| .It Fl v , Fl -verbose | .It Fl v , Fl -verbose | ||||
| Be verbose, showing both the source and destination path of each file | Be verbose, showing both the source and destination path of each file | ||||
| as is copied. | as is copied. | ||||
| .It Fl x , Fl -one-file-system | .It Fl x , Fl -one-file-system | ||||
| Do not traverse file system mount points. | Do not traverse file system mount points. | ||||
| .El | .El | ||||
| ▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines | |||||