E
E
Enlighted_one2020-11-22 22:43:21
linux
Enlighted_one, 2020-11-22 22:43:21

How to fix "No such file or directory" when trying to feed regexp to sql?

Good afternoon, I'm trying to roll a backup into mysql with the command:
mysql -v -u root fnt < '/var/testproj/backups/fxpg *.sql'
I get the answer:
-bash: /var/testproj/backups/fxpg*.sql: No such file or directory
there is a file in the folder and there is only one suitable for this regexp.
How to force bash to give this file to mysql?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question