BSD Ports

sysutils/cpdup 5.4.0p0 OpenBSD

utility to mirror filesystems, directories, and files

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
sysutils

Description

The cpdup utility makes an exact mirror copy of the source in the destination, creating and deleting files and directories as necessary. UTimes, hardlinks, softlinks, devices, permissions, and flags are mirrored. By default, cpdup asks for confirmation if any file or directory needs to be removed from the destination and does not copy files which it believes to have already been synchronized (by observing that the source and destination files' sizes and mtimes match). cpdup does not cross mount points in either the source or the destination. As a safety measure, cpdup refuses to replace a destination directory with a file.

It is a port of the cpdup utility from DragonFly BSD.

In the other systems

SystemPortVersion
OpenBSDsysutils/cpdup5.4.0p0
FreeBSDsysutils/cpdup1.22_1
NetBSDwip/cpdup1.17
DragonFlysysutils/cpdup1.22_1
HardenedBSDsysutils/cpdup1.22_1
GhostBSDsysutils/cpdup1.22_1
OPNsensesysutils/cpdup1.22_1

Install

Binary package:

pkg_add cpdup

From the ports tree:

cd /usr/ports/sysutils/cpdup && make install

Dependencies

No port depends on this one.