til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Copy a file to multiple directories

Nifty little trick when you want to copy a single file to multiple directories.

$ xargs -m 1 cp file <<<"/dir1/ /dir2/"

References