copy

Current directory

cp . /newdir

Mutiple files to a directory

cp {old.txt, old2.txt} /newdir

Folders

cp -r source newdir

WordPress core copy shortcut

cp -R {wp-admin,wp-includes,index.php,wp-activate.php,wp-blog-header.php,wp-comments-post.php,wp-cron.php,wp-links-opml.php,wp-load.php,wp-login.php,wp-mail.php,wp-settings.php,wp-signup.php,wp-trackback.php,xmlrpc.php} ../
Advertisements