Friday, May 10, 2013

cp -rf asking for "cp: overwrite ... ?"

Problem description:

$ cp -rf OPatch/* OPatch_OLD/
cp: overwrite `OPatch_OLD/crs/auto_patch.pl'? 

Cause of problem:

$ alias |grep cp
cp='cp -i'

Solution of problem:

$ 'cp' -rf OPatch/* OPatch_OLD/

No comments:

Post a Comment