Hello,
After some feedback, I have changed the patch slightly. Rename
-d to -t and remove the requirement for the option to have a
value.
-t aquire the target from *argv++ instead of argv[argc--]
The patch can be found at:
http://people.freebsd.org/~jwd/cp-t.patch
Some comments:
-t was chosen to help match the existing (and be co-existant
with) gnu cp option --target-directory=DIRECTORY
I have seen many proposals posted with respect to "why don't
you do it this way?" Bascally, they don't do the same thing.
cat BigFileList | xargs cp -t targetdir
where "cat BigFileList" is actually a seperate and complex
process that I do not own/support.
The list of files given to the process spans many subtrees
and mount points. The goal is to bring a copy of those files
into a single directory.
Tar, cpio, and other file copy processes copy hierarchies. Cp
is the only program which allows for a simple yet elegant way
of transferring files from disparate locations to a single location.
cp -s allows for a very simple yet highly effective method of
doing what needs to be done. Yes, I am also willing to update
mv to work the same way.
-John
ps: As a humorous aside with respect to standards. I thought
FreeBSD set the standard! :-)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message