My understanding is the behaviour is correct: when 'cp' is copying to a directory, it will copy *under* the target directory, not *over* it. So it will start the copy and later it will notice it is copying recursively -- and immediately stop.
Nevertheless, I am open to suggestions ;-)
My understanding is the behaviour is correct: when 'cp' is copying to a directory, it will copy *under* the target directory, not *over* it. So it will start the copy and later it will notice it is copying recursively -- and immediately stop.
Nevertheless, I am open to suggestions ;-)