Date: Thu, 19 Apr 2001 15:39:14 -0400 From: "John W. De Boskey" <jwd@bsdwins.com> To: Current List <freebsd-current@freebsd.org> Subject: cp -d dir patch for review Message-ID: <20010419153913.A74863@bsdwins.com>
next in thread | raw e-mail | index | archive | help
Hi, I have added a -d dir option to cp. This allows the target directory to be specified at the head of the command line instead of the tail. This makes cp work much more nicely with tools like xargs... (allowing for major performance improvements over inline shell loops). The patch is at: http://www.freebsd.org/~jwd/cp-d.patch which allows: cp -d target_directory source1 source2 ... sourceN and/or cat big_file_list | xargs cp -d target_directory The changes required to do this turned out to be simple. Please let me know if you have any comments. Note: I do not have a man page update yet. Working with man pages on current appears to be broken. nroff/groff are also producing bad output on freefall.. Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010419153913.A74863>