For macOS, this script does approximately the same thing. Installation & configuration is described on that page. The link from inside the vault to the file is not auto-deleted, but you can do that by hand if you want to.
For macOS, this script does approximately the same thing. Installation & configuration is described on that page. The link from inside the vault to the file is not auto-deleted, but you can do that by hand if you want to.