I have a number of sql files to import. For a single file I use the following command:
mysql -u root -p dbname < db.sql
Is it possible to use xargs to bulk import all files? something like:
ls *.sql | xargs ....
I know that mysqlimport is the solution but I want to know if it's possible with xargs or not.