Question:

Linux command, copy and paste but exclude certain folders IN TERMINAL?

by  |  earlier

0 LIKES UnLike

i have a folder called "documents" that has another folder called "SPAM" in it...how do i copy everything IN "documents" except "SPAM" and paste to /home/docs/ from TERMINAL COMMAND LINE

 Tags:

   Report

1 ANSWERS


  1. from the root directory.

    cp /documents/*.* /home/docs/

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.