Hi ,
Actually I have just to copy some specific files from a directory. As there are 5000 files and I have to copy only 300. so I just want to make program which read the name of the file given in text file and then copies those file from the directory to some other directory . for ex
Directory parijat : a1.mol2 a2.mol2 ................................a5000.mol2
I want to copy a3.mol2, a890.mol2,a675.mol2,a4500.mol2 etc
so I have given alist containing file name
a3.mol2
a890.mol2
...
.
.
-
a4500.mol2
I am using bash but ...but it wont work out
cat file | while read line ; grep $line directory