This is a small utility I wrote after I realized that my digital assets (mostly pictures, of which I have plenty) are not being tracked properly. We constantly move between photo organizers, tagging apps, cloud services, virtual mounts, backup solutions and folder layouts, and over the past two years I encountered several cases where one or more digital asset suddenly turned out missing.
I back up my data all of the time, and even have an online backup service. The problem is I don't know if and when I need to activate it. There are thousands of photos in my collection, and it's not really possible to know when and if you delete one of them accidentally.
Write the following in ~/.asset_tracker/config:
# this is needed if you have a remote machine you would like to scan
tracker.add_host("my_host_alias", "ssh:192.168.11.12")
# this is useful for locally stored assets
tracker.add_directory("/some/local/path")
tracker.add_directory("/some/remote/path", host="my_host_alias")
To scan your collection, run:
assets scan
BSD