freebsd-src/bin/cp
Warner Losh 5a52e3d00d cp: Add -N flag, inspired by NetBSD's similar flag
Add -N to supress copying of file flags when -p is specified (explicitly
or implicitly). Often times we don't care about the flags or wish to be
able to copy to NFS, and this comes in handy for that. FreeBSD's and
NetBSD's cp are somewhat different, so I had to reimplement all but one
of the patch hunks...

Obtained from:		NetBSD (cp.1 1.25, cp.c 1.37, utils.c 1.28 by elad)
Sponsored by:		Netflix

Differential Revision:	https://reviews.freebsd.org/D42673
2023-12-07 13:36:44 -07:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cp.1 cp: Add -N flag, inspired by NetBSD's similar flag 2023-12-07 13:36:44 -07:00
cp.c cp: Add -N flag, inspired by NetBSD's similar flag 2023-12-07 13:36:44 -07:00
extern.h cp: Add -N flag, inspired by NetBSD's similar flag 2023-12-07 13:36:44 -07:00
Makefile bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
utils.c cp: Add -N flag, inspired by NetBSD's similar flag 2023-12-07 13:36:44 -07:00