Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

copy one file into multiple linux folders

tee ~/folder1/test.txt ~/folder2/test.txt < ~/test.txt
Comment

Copy File from One Directory to Another in Linux

cp -v my_file.txt my_file2.txt my_file3.txt /new_directory
Comment

copy one file to several directories

echo foo bar baz | xargs -n 1 cp /tmp/foo.txt
Comment

how to copy one file to multiple directories in linux

$ echo ~/Downloads ~/Documents | xargs -n 1 cp ostechnix.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: bash read file and output 
Shell :: join rows in one string linux 
Shell :: nginx server missing webmin 
Shell :: rvm does not load gemset when open new tab in terminal 
Shell :: create symbolic links 
Shell :: mac ferdi install 
Shell :: What does maven clean install -U do? 
Shell :: Basic listing in linux 
Shell :: Remove old git 
Shell :: Installing nano on Debian/Ubuntu machines 
Shell :: how to get last folder from path 
Shell :: delete file bash script with time and date 
Shell :: bash remove last directory from path 
Shell :: delete fg linux 
Shell :: How to point project to another remote repository git 
Shell :: pop os headphones stopped working 
Shell :: shell owner and permission linux 
Shell :: static noise ubuntu after update 
Shell :: how to do a conditional check in shell 
Shell :: sc stop 
Shell :: command to delay the prompt for a specified time 
Shell :: 7zip zip multiple folders 
Shell :: docker cleanup - Remove Docker Images, Containers, Networks & Volumes 
Shell :: fslmaths fill holes 
Shell :: carrige return in bat file 
Shell :: edgeos hosts file 
Shell :: Kubernetes: Remove taint from node 
Shell :: linux pipe string contains 
Shell :: see what is through an archive 
Shell :: bash script bell ping 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =