Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to add --depth=2 or some such feature along side of atom and split? #27

Open
varmint708 opened this issue Jan 9, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@varmint708
Copy link

First of all, awesome work, thanks for this utility.

is it possible to add --max-depth=2 or some such feature along side of atom and split? du has such feature and really helpful. so something like below. The main use case here is that I have multiple mergerfs drives (https://perfectmediaserver.com/02-tech-stack/mergerfs/) on nas with specific policies and split doesn't work for them and atom is too broad, since I don't want to touch few drives at specific times, or backup/check them at different schedules, etc. anyways a long shot and very edge case, but would be useful to have if possible. anyways thanks for your time.

split mode, where it stores an index in each directory, or
atom mode, where the index is stored in a single file, or
depth mode, where it stores an index in each directory upto specified depth.
e.g:
$ chkbit init depth=1 /var/
/var/.chkbit-db
# /var/.chkbit-db contains details for test1.txt, test2.txt, etc..except directories log and cache, which have their own .chkbit-db.
# note, whole /var/cache/.chkbit-db acts as atom even if they are multiple levels deep.
/var/log/.chkbit-db
/var/cache/.chkbit-db
/var/cache/crash/ftp
/var/cache/games
/var/test1.txt
/var/text2.txt

@varmint708 varmint708 changed the title is it possible to add --max-depth=2 or some such feature along side of atom and split? is it possible to add --depth=2 or some such feature along side of atom and split? Jan 9, 2025
@laktak laktak added the enhancement New feature or request label Jan 9, 2025
@laktak
Copy link
Owner

laktak commented Jan 9, 2025

Yes, that sounds useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants