scrapyard --yard /tmp/cache --paths junk find --key key
Alternatively add --exact
or some other argument to search?
scrapyard update --key key --exec "touch bar" --paths bar
It would search keys for closest match, fetch the cache, run the exec command to update the cache contents, and if that succeeded update the first cache key with the new contents.
Currently logging is set to DEBUG if -v
is set, or WARN otherwise
Currently ALL matching files are listed, but it might help clarify to sort matches by last modified descending, and only print the first 3 to 5 with an ellipse if there are more available.