The following command:
cp "/Users/my.name/Documents/GitHub/Folder/*.dylib" "/Users/my.name/Documents/GitHub/OtherFolder"
Throws the following:
No such file or directory
The following command:
cp "/Users/my.name/Documents/GitHub/Folder/theFile.dylib" "/Users/my.name/Documents/GitHub/OtherFolder"
Copy the file.
The following commands:
cd "/Users/my.name/Documents/GitHub/Folder/"
cp *.dylib "/Users/my.name/Documents/GitHub/OtherFolder"
This leads me to believe this is due to the presence of quotes "..."
. Same when using '...'
. Why is that ? What can I do if the path contains spaces ?