Quote:
Originally Posted by allovertheglobe
As I understand it, once SQlite is installed, it could take a shell one-liner to write the corresponding flag to the appropriate metadata.db...
|
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 ...