Script to copy certain info from seveal directories

view story

http://www.unix.com – Hi, I am writing a script to copy certain file name in txt file [1]. It is working fine if I provide a single directory name (for example "/eos/uscms/store/user/pooja04//analysis2012/525/data/doubleele/2012/datav1/" ) where those specific files are present ending with *root [2]. But I want to modify this script to check the directories there [3] look for all the directory for the files ending with *root and then copy them to the $FileName. Thanks, Pooja [1] Code: #!/bin/bash                            &nbsp (HowTos)