Linux cp without having to answer yes (y) to every file confirmation

\cp -r -p -f * /home/registration/public_html/dev/wp-content/plugins/

-r is recursive

-f is force

-p is preserve ownership mode and timestamps

This command line copies all folders and files in the plugins folder to the new plugins folder

Leave a comment