why bash executes the file after I compressed it with tar

Viewed 12

When I execute a bash file with the following line,

`tar zcvf "${path}${parentFolder}/saveDBHistory_${suffixe}.sql.tar.gz"  -C "${path}${parentFolder}" "saveDBHistory_${suffixe}.sql"`

the bash tries to execute the file. The file is well compressed but the following comment appears in the console:

saveDBHistory_20220924_1550.sql: command not found

So could you please tell me why the original file is considered as a command?

Thanks a lot in advance!

0 Answers
Related