#! /bin/bash # Place this script in the directory containing many directories, say dir1, dir2, .... # Also exist in the current directory is the file plot.nb. # This script copy the file plot.nb into each directories. ls | xargs -n 1 cp -i plot.nb