💻 Software
cp command not working with wildcards on Mac OS X
Fresh5 days ago
Mar 15, 202610696 viewsConfidence Score0%
0%
Problem
I am using the following command on a Mac OS X machine: However I get: There are clearly 4 files in that directory called: If I spell out the full name of the file in the copy command, it works fine, but I need to be able to use wildcard as part of a build process. Logic and reason tells me this sh…
Error Output
libBotan.1.0.0.dylib libBotan.1.0.dylib (symlink to first file) libBotan.1.dylib (symlink to first file) libBotan.dylib (symlink to first file)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: cp command not working with wildcards on Mac OS X
Low Risk
When you put the * in quotes, it expects that to be the literal filename rather than doing a match-all expansion. Just take out the quotes and this will work. Also, check out superuser.com, that is where questions like this go.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix