If users have already executed this command (e.g. in Exercise 2 after completing Exercise 1)
cp -r /nfs/chess/user/x-cite/CHAP-Training-Examples-Materials /nfs/chess/user/$USER/
it throw warnings about overwriting .gitignore files, or will prompt to overwrite. Adding a -n flag will suppress those warnings:
cp -r -n /nfs/chess/user/x-cite/CHAP-Training-Examples-Materials /nfs/chess/user/$USER/
If users have already executed this command (e.g. in Exercise 2 after completing Exercise 1)
cp -r /nfs/chess/user/x-cite/CHAP-Training-Examples-Materials /nfs/chess/user/$USER/it throw warnings about overwriting
.gitignorefiles, or will prompt to overwrite. Adding a-nflag will suppress those warnings:cp -r -n /nfs/chess/user/x-cite/CHAP-Training-Examples-Materials /nfs/chess/user/$USER/