Plan 9 from Bell Labs’s /usr/web/sources/contrib/someone/root/rc/bin/cpnewer

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# cpnewer - copy newer files in $1 to $2.
#	missing files in $2 will be copied from $1
if (! ~ $#* 2) {
	echo usage: cpnewer src dest >[1=2]
	exit usage
}
echo + | disk/mkfs -s $1 -d $2 /fd/0

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].