I am remote logged into a Mac and trying to copy a music file from one directory to another, but I am getting an error. I think it's caused by spaces or special characters, but not sure.
the file is:
01 Your Everything (feat. Louisahhh!).m4a
I tried a few variations of the following to cp the file (this is just a test to rename):
cp 01\ Your\ Everything\ (feat.\ Louisahhh!).m4a dd.m4a
I am getting the following error:
-bash: !: event not found
Thanks for reading!
cp "long filename with special characters.m4a" dd.m4a
!
) in them -- but single-quotes would do the trick.