ubuntu copy command throws cp: omitting directory
I wanted to backup some directories before making some changes, and came across an error cp:omitting directory This is because I did not include a recursive argument in my copy command. So the solution is to include a -R (for ubuntu and CentOS) command in copy command like : cp -R websites/myshinywebsite .