Wednesday, March 6, 2013

copy hidden files when using 'cp'

To copy hidden files when using 'cp' don't specify the files being copied..


Don't specify the files:
cp -r /etc/skel /home/user

http://superuser.com/questions/61611/how-to-copy-with-cp-to-include-hidden-files-and-hidden-directories-and-their-con

No comments:

Post a Comment