Hello Everyone,
I have written shell script to copy some file from a text file.
while read Eachline
do cp -p $Eachline /usr/x/x/x/temp_part_bkp/
done < /usr/x/x/x/list.txt
but main problem is suppose that there are two files with same name
for eg: in list.txt
/usr/x/x/x/test.atr and /usr/x/x/x1/test.atr
then its overwritten by other one

I need a script which can copy both file in some location
like
/usr/x/x/x/test.atr in path /usr/x/x/x/temp_part_bkp/
and /usr/x/x/x1/test.atr in path /usr/x/x/x/temp_part_bkp1/
can we achive it. please help I am stuck
