When running the cp (copy) command in a Mac OS Terminal the file doesn’t get copied and instead is prints out the following message:
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
The message printed out above isn’t descriptive as to what the problem is.
The reason for this error message is because one of the directories that you are copying to or from doesn’t exist.
Check that the directories you are trying to copy to or from exist and then try running the command again.