#!/bin/bash # Copyright (c) 2025 Robert Strutts # License: MIT # GIT: https://git.mysnippetsofcode.com/bobs/execguard /usr/bin/sudo /usr/bin/sqlite3 /etc/execguard/system.db "SELECT path FROM allowed;" > migrated_apps.txt echo "On the remote PC: \$ sudo execguard --initFile migrated_apps.txt"