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/" Resource and References @nixCraft on Twitter