1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

(struct cp_options): New field: require_preserve.

This commit is contained in:
Jim Meyering
1997-10-06 04:58:26 +00:00
parent eb2947bbbd
commit 7bff8c9b50

View File

@@ -49,10 +49,15 @@ struct cp_options
on different filesystems from the one we started on. */
int one_file_system;
/* If nonzero, give the copies the original files' permissions,
/* If nonzero, attempt to give the copies the original files' permissions,
ownership, and timestamps. */
int preserve;
/* If nonzero and any of the above (for preserve) file attributes cannot
be applied to a destination file, treat it as a failure. E.g. cp -p
requires this be nonzero, mv requires it be zero. */
int require_preserve;
/* If nonzero, copy directories recursively and copy special files
as themselves rather than copying their contents. */
int recursive;