Futilities/human/fti: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
FTI spiders a folder-tree, hashing each file found, and produces a single JSON file which lists all of the files and their hashes. If a hash matches multiple files, they are listed together (currently these are commented out until I figure out how they should be represented in the output).
FTI spiders a folder-tree, hashing each file found, and produces a single JSON file which lists all of the files and their hashes. If a hash matches multiple files, they are listed together (currently these are commented out until I figure out how they should be represented in the output).


The files produced by FTI can then be used by {{l/same|FIC}} to determine what files in each tree are missing from another tree, where matching files might not be in matching relative paths or even have the same name.
The files produced by FTI can then be used by {{l/same/lc|FIC}} to determine what files in each tree are missing from another tree, where matching files might not be in matching relative paths or even have the same name.
==Notes==
==Notes==
Note to self: the particular archive repo I'm trying to merge in with the main Nextcloud is:
Note to self: the particular archive repo I'm trying to merge in with the main Nextcloud is:
  sftp://root@statler.local/mnt/HexTera2/archive/collections/clouds/admin/owncloud
  sftp://root@statler.local/mnt/HexTera2/archive/collections/clouds/admin/owncloud

Revision as of 14:07, 30 August 2022

FTI: File Tree Indexer

About

FTI spiders a folder-tree, hashing each file found, and produces a single JSON file which lists all of the files and their hashes. If a hash matches multiple files, they are listed together (currently these are commented out until I figure out how they should be represented in the output).

The files produced by FTI can then be used by FIC to determine what files in each tree are missing from another tree, where matching files might not be in matching relative paths or even have the same name.

Notes

Note to self: the particular archive repo I'm trying to merge in with the main Nextcloud is:

sftp://root@statler.local/mnt/HexTera2/archive/collections/clouds/admin/owncloud