DUPE(1) BSD General Commands Manual DUPE(1)NAMEdupe — duplicate a file quickly
SYNOPSISdupe original
DESCRIPTION
This utility is always called by portfix(1), but sometimes it is useful
in its own right.
dupe takes exactly one argument, a path to a file. It will duplicate the
[original] file to "<original>.orig" unless there is already an existing
file with this exact name. In that case, the target file name will be
"<original>.intermediate" and any existing file of that name will be
unconditionally overwritten.
ERRORSdupe will abort if zero or more than one argument is given, or if
[original] is not a path to a valid regular file.
SEE ALSOgenpatch(1), portfix(1)BSD May 17, 2015 BSD