Is it possible to copy a single file to multiple directories using the cp command ?
I tried the following , which did not work:
cp file1 /foo/ /bar
These answers all seem more complicated than the obvious:
for i in /foo /bar; do cp "$file1" "$i"; done