Copy With Cp to Include Hidden Files
“How can I make cp -r copy absolutely all of the files and directories in a directory\r\n\r\nRequirements:\r\n\r\n - Include hidden files and hidden directories.\r\n - Be one single command with an flag to include the above.\r\n - Not need to rely on pattern matching at all.\r\n\r\nMy ugly, but working, hack is:\r\n\r\n cp -r /etc/skel/* /home/user\r\n cp -r /etc/skel/.[^.]* /home/user\r\n\r\nHow can I do this all in one command without the pattern matching?