For regular unix users, those shouldnt be a problem, but for novice users and sometimes forgetting ones, some issues can be confusing.
when using cp command as in
cp file.ext /path/to/new/folder
or
cp -r folder/* /path/to/new/folder r for recursive copying
and sometimes
cp -fr folder/* /path/to/new/folder r for recursive and f to force overwrite wihout prompts
sometimes it still prompts you, and if you are copying lots of files, this is a huge pain !
Here is a little neat trick
‘cp’ -r folder/* /path/to/new/folder
notice the ‘ surrounding the cp, this will force your os to override prompts and just apply the ccommand ! No more overwrite prompts … Enjoy,







