Execute output lines

I have a command (not shell script) that general several lines of output like this...
scp /var/lib/mysql/jitu/email.* root@172.29.0.218:/root/pitu/
scp /var/lib/mysql/jitu/orders.* root@172.29.0.218:/root/pitu/

I tried adding xargs but it did not work. -exec was not tried because I guess it is used with find
| xargs -I '{}'
How do I make execute these lines without taking help of shell script?

Regards,
Shantanu Oak

Try eval maybe or show the complete thing you've tried with xargs.

for file in `my command goes here`; do scp $file root@172.29.0.218:/root/pitu ; done > /root/shantanu/copytable.txt 2>&1

This is working as expected. Is it ok to use this?

Yes, that's absolut ok.