Can someone provide an example for the command
xargs? I want to do a
mysql query to return the ID field of a column then feed that result into
xargs into another command say
mysql query delete. How can this be done?
xargs deals badly with special chars (" ' space), so I will give you an example using GNU Parallel:
It takes literally 10 seconds to install GNU Parallel (which includes GNU SQL):
Watch the intro videos to learn more: https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1