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

FreeBSD Manual Pages

  
 
  

home | help
DUPE(1) 		     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 uncon-
     ditionally 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)

FreeBSD ports 15.quarterly	  May 17, 2015				 DUPE(1)

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

home | help