Quote:
Originally Posted by thomega
You're right:
Code:
mktemplate () { echo 'update file_metadata set is_template = 1 where filename = "'$1'";' | sqlite3 metadata.db; }
Instead of shell function, you can use a script of course ...
|
Thanks. Works perfectly.
Maybe we should start collecting all linux related snippets somewhere. I managed to get shortcuts working by trial and error (if the filename/directory constains spaces,
do not escape them). Next is merging notes and pdf.
Thanks,
Adi