Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 14:33:07 +0100 (CET)
From:      scsprong@gmail.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105473: ports/sysutils/cpdup -o doesn't work as advertised
Message-ID:  <20061113133307.8ED40EBCA7@volte.student.utwente.nl>
Resent-Message-ID: <200611131340.kADDe2Aw010855@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105473
>Category:       ports
>Synopsis:       ports/sysutils/cpdup -o doesn't work as advertised
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 13 13:40:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     S.C.Sprong
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD quicksilver.private 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Nov 12 20:59:11 CET 2006 root@quicksilver.private:/usr/obj/mnt/software/FreeBSD/RELENG_6/src/sys/SILVER01 i386


	
Discussed version: cpdup 1.05 from the prebuilt 6.1 packages.

>Description:
The nifty mirroring tool cpdup has the command-line option -o defined as:
"-o    do not remove any files, just overwrite/add."

However, when it is called as cpdup -o [FROM] [TO], and it discovers
'unknown' directories in TO, it still asks to remove them.
I consider this a bug.

	
>How-To-Repeat:
	
>Fix:
Workaround: yes no | cpdup -x -o [FROM] [TO]
	
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061113133307.8ED40EBCA7>