My bad the editor was removed some star characters.
It should be !cp *.* drive/My\ Drive
The first * represents any filename
The second * represents any extension
Wildcards -
It seems like you’re trying to copy a directory, in this case you should include the flag -r. The full command should be:
!cp -r -a . drive/My\ Drive
where:
cp: the copy command -a: preserve the original file structure/attributes -r: recursive flag, meaning include all items inside the folder . (dot): a command to say include all items in the current directory drive/My\ Drive: the target directory