Thanks for taking the time to file this report. I can see a problem with your suggestion however: * is a perfectly valid file/directory name. For example, using the bash shell, you can do this "touch original_file ; mkdir test ; cp original_file test/* ; ls -al test". When * is handled as a wildcard, that is something that your shell is doing, not cp itself. For example, when bash sees * it tries to expand it using file- matching first, and if it matches nothing it just passes it as a literal * to the command. Since cp is a command that changes data, and therefore potentially dangerous, I think it's safer to leave it working as "try to do exactly what you asked, and no more".
-- 'cp' needs to read the wildcard (*) on the desintation folder as the destination folder https://bugs.launchpad.net/bugs/319923 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
