Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to copy one file to multiple directories in linux

$ echo ~/Downloads ~/Documents | xargs -n 1 cp ostechnix.txt
Source by ostechnix.com #
 
PREVIOUS NEXT
Tagged: #copy #file #multiple #directories #linux
ADD COMMENT
Topic
Name
1+3 =