Friday, April 1, 2016

recursively cp all directories, files and hidden files

recursively cp all directories, files and hidden files

By default bash doesn't include dot files in *, however the feature could be easily turned on with this:

# shopt -s dotglob

To disable the feature after using it:

# shopt -u dotglob

http://www.linuxquestions.org/questions/linux-newbie-8/recursively-cp-all-directories-files-and-hidden-files-808403/

No comments: