Search code examples
linuxfileinputtxt2tags

* before file name on linux in MidnightCommander


I have some files like:

*xxxx.log

*yyy.txt

and I have to convert them to pdf with simple txt2pdf script. Problem is that that * is preventing me from doing that because "cannot open input file xxx.log" (it is not shown with * there)

I was using that on same files some time ago and they were without *, but I can't remember command to remove that from all the files in destination. Is it possible to do so using system command or is it necessary to use a script and if so, can you provide code for doing so.


Solution

  • Just use \ to escape the special character.