Copy a file to multiple directories in linux
echo dir1 dir2 dir3 | xargs -n 1 cp source_file
Written by Jacob Bednarz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#