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

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...