Skip to content

Feature request: Create a subatom within a directory/Check subdirectory #30

@m1g0r3ng

Description

@m1g0r3ng

Say I had a .chkbit-db store in my user folder and I wanted to transfer the folder ~/Documents/importantfolder to my external drive for backup.
It would be nice to be able to run something like chkbit init ~/Documents/importantfolder --subatom or chkbit subatom ~/Documents/importantfolder to do the following:

  • walk up the path (here ~/Documents/importantfolder)
  • try to find a .chkbit-db as we're walking up
  • upon finding such a store, seeing if the path's entries are properly added to the store
  • if all good, resolve the path's entries to the paths cwd, otherwise error out

This way we can check a backed up folder without having to create the full directory structure for it, or having to recreate a fresh .chkbit-db for said folder; simply create a subatom in the folder, move the folder over for backup, then run and manage chkbit from now on on that folder in the external drive

If there is a better/easier way already to do this let me know!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions