how to make cp: overwrite to copy without confirmation

Many times, overwriting the data prompts confirmation before each file is copied. To bypass the confirmation by default YES answer, do this

yes | cp -rf source_address destination_address



Enjoy Linux ..!!!!
+Linux +Ubuntu +CentOS






0 comments:

Post a Comment