LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in cp command (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-cp-command-425077/)

ksriram03 03-15-2006 10:01 AM

problem in cp command
 
Things that can not be done using cp command

Multiple files can be copied to a single directory but

single file (or multiple file)cannot be copied to multiple directories in a single cp command.

reddazz 03-15-2006 10:40 AM

Welcome to LQ. Your post is not really a question. If you want to post tips and tutorials there are dedicated sections on the site for that. :)

prasanta 03-15-2006 11:12 AM

Use this command for copying single file to multiple directories,

cp filename.txt --target-directory\=directoryname --target-directory\=directoryname


All times are GMT -5. The time now is 10:12 AM.