Re: cp command will copy to subdirectory without appending /

2009-10-21 Thread Todd Partridge
On Tue, Oct 20, 2009 at 12:59 AM, Bob Proulx wrote: > Todd Partridge wrote: >> The cp command will copy to a subdirectory without an appending / > > You have reached bug-bash, not bug-coreutils.  The 'cp' program is in > the GNU Coreutils project and so bug reports

cp command will copy to subdirectory without appending /

2009-10-19 Thread Todd Partridge
The cp command will copy to a subdirectory without an appending / mkdir test test2 touch abc test touch bcd test2 cp -R test2 test ls test test2 abc Since the cp command can also rename I think the proper behavior here for 'cp -R test2 test' would be to error and print that 'Folder already exists