echo and then cp the missing files

Hi....
I have two files abc.txt and xyz.txt. I want to echo and copy files from abc.txt to xyz.txt, which are not in xyz but present in abc.txt.
Both of these files are in same directory.
Please provide code with while or for loop....

:slight_smile:

so you wanna copy files or lines from abc.txt to xyz.txt??
and plz post your effort

I want to copy files.

how can you copy files which contains another files to one more file.. can you be bit eloberate on this..:slight_smile: