I'm still on my L-plates when it comes to scripting so I was hoping someone can show me how to do this:
In my /etc/cups/mime.convs file there is a line:
#application/octet-stream application/vnd.cups-raw 0 -
which I would like to change to:
application/octet-stream application/vnd.cups-raw 0 -
How do I do this? At the moment I'm just removing the whole mime.convs file and replacing it with one I'e prepared earlier. However, I want to do the whole edit within the script (if possible) so if anyone can help I'd appreciate it.