I desire to copy all files inside a directory which has only these files (all are regular files - there are no directories, symlinks, etc, inside that directory) to another pre-existing directory.
The files have pretty common names like robots.txt and don't follow any specific pattern.
I tried a similar command:
cp -a "$HOME"/a "$HOME"/b
I understand that -a is a shortcut-combo for -d (preserving mode, ownership and timestamps) and -R which orders recursive copying.
If copying is recursive, why the files aren't copied and what would be a solution?