Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DUPE(1)			  BSD General Commands Manual		       DUPE(1)

NAME
     dupe -- duplicate a file quickly

SYNOPSIS
     dupe 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 un-
     conditionally overwritten.

ERRORS
     dupe will abort if	zero or	more than one argument is given, or if
     [original]	is not a path to a valid regular file.

SEE ALSO
     genpatch(1), portfix(1)

BSD				 May 17, 2015				   BSD

NAME | SYNOPSIS | DESCRIPTION | ERRORS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dupe&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help