Michael O'Keefe wrote:
o "cp -R src_dirname/* dest_dirname/" won't copy "." files.
o "cp -R src_dirname/.* dest_dirname/" also copies ".." and "." (Right?)
o "cp src_dirname dest_dirname/ will copy the src_dirname directory
and its contents to dest_dirname/ which is not the desired result.
The Subject says "without recursion", does that mean you want all the
files to be dumped into a single directory ? If so, how do you want to
handle filename collisions ?
Sorry, I knew that phrase might confuse people. I meant I didn't want
".." being copied. I realize that the -R switch means recurse
directories, but I meant recursion in the sense of tail recursion.
--
Best Regards,
~DJA.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list