Public bug reported:
Binary package hint: coreutils
The error:
----
cp: target `/home/brett/localhost/jordan/*' is not a directory
----
is being very picky.
Why can't cp differentiate between /* and / for the destination folder?
I know it's not perfect syntax, but cp should be able to to interpret
that without error.
br...@brett-desktop:~$ sudo rm -r /var/www/
[sudo] password for brett:
br...@brett-desktop:~$ sudo ln -s /home/brett/localhost/ /var/www
br...@brett-desktop:~$ mkdir /home/brett/localhost/jordan
br...@brett-desktop:~$ cp -p
my_programming/websites/_jordan_lavery-flyingcolours/20090120/*
/home/brett/localhost/jordan/*
cp: target `/home/brett/localhost/jordan/*' is not a directory
br...@brett-desktop:~$ cp -rp
my_programming/websites/_jordan_lavery-flyingcolours/20090120/*
/home/brett/localhost/jordan/* # did not work
cp: target `/home/brett/localhost/jordan/*' is not a directory
br...@brett-desktop:~$ cp -rp
my_programming/websites/_jordan_lavery-flyingcolours/20090120/*
/home/brett/localhost/jordan/ # did work
** Affects: coreutils (Ubuntu)
Importance: Undecided
Status: New
--
'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