packall

Crates.iopackall
lib.rspackall
version0.1.0
sourcesrc
created_at2021-12-03 21:07:57.443603
updated_at2021-12-03 21:07:57.443603
descriptionEats all the files you feed and keeps them organized, first in the belly, after in the body, for future searches.
homepage
repositoryhttps://github.com/emuvi/packall
max_upload_size
id491958
size37,732
Éverton M. Vieira (emuvi)

documentation

README

Packall

Eats all the files you feed and keeps them organized, first in the belly, after in the body, for future searches.

Technology

Project features

  • Import files.
  • Does not keep repeated files.
  • Makes indexes for fast search.
  • Uses associated software present in path for conversions to text.
  • The indexes are made from the converted texts.

Files structure

// TODO - Update the file structure and flatten one hierarchical folder.

The files are kept in subdirectories inside the body root directory. The main factor of organization is the SHA256 checksum of the origin file. Each file is kept inside of three nested directories. The first directory name is the three first characters from the checksum. The second directory name is made starting with the forty character from the checksum until the sixth. Finally, the last and third directory name is made with all the checksum. Inside the third and last directory our file is stored. The name of the stored file is made with the start of "org-", that comes from "origin", plus a sequence of eighteen random characters and his extension.

Commit count: 41

cargo fmt