Skip to content

Reverse file lookup #314

@delgadom

Description

@delgadom

How freaking cool would it be if you could point datafs to a file and it would return all the archive/version combos that match the hash value? Then if people had downloaded it, changed the name, etc., you could still trace the origin and get the metadata!!!

Example:

    $ echo "this is a file" > myfile.txt
    $ datafs create my_new_archive.txt --description "some contents" --tag "textfile"
    $ datafs update my_new_archive.txt myfile.txt --bumpversion major
    archive <osdc://my_new_archive.txt>updated to version 1.0
    $ mv myfile.txt anotherfile.txt
    $ datafs lookup anotherfile.txt
    <osdc://my_new_archive.txt> v1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions