How to copy with cp to include hidden files and hidden directories and their contents?
bash itself has a good solution, it has a shell option, You can cp, mv and so on.: shopt -s dotglob # for considering dot files (turn on dot files) and shopt -u dotglob # for don’t considering dot files (turn off dot files) above solution standards of bash NOTE: shopt # without argument show …