Comments (6)
from gufi.
I think it makes sense to add. @calccrypto added a super cool arg to gufi_stats where it shows you the filesize bins. It's basically that CASE statement that we discussed but using sql log() instead of using a case for each bin. Also, has the nice feature that we don't have to query max file size first.
So now I want to use that same logic to show direntries but we currently only have filecount and linkcount. I think that most people consider subdirs when they want to know how many items are in a directory. For example, people do things like 'ls -l /some/dir | wc -l' and that includes files, and links, and subdirs.
from gufi.
from gufi.
from gufi.
from gufi.
4c28be4 adds the sqlite function subdirs(srollsubdirs, sroll)
using a new column in vrsummary
to get the correct number of immediate subdirs of each directory whether or not the index was rolled up. After moving subtrees and redoing rollups, the subdir count is automatically computed when querying.
from gufi.
Related Issues (20)
- Issues with folders with spaces HOT 3
- How to update the metadata? HOT 6
- Memory usage/leak HOT 23
- Special characters in file/path names HOT 3
- Issue with gufi_ls HOT 4
- FEATURE REQUEST: Add totzero to the vrsummary table HOT 5
- FEATURE REQUEST: gufi_stats -c dirsize-log2-bins HOT 3
- Longitudinal Study: Phase 1 HOT 6
- Longitudinal Study: Phase 2 HOT 6
- query to get Big directories with the help of GUFI db HOT 3
- Recursive gufi_ls does not work well with root databases
- gufi_dir2trace race condition HOT 2
- Cleanup OSX regression test gufi_stat and verifytrace HOT 1
- Is there any way to update existing index directory?
- googletest causes builds to fail
- gufi_find uses DEFAULT_CONFIG_PATH which isn't defined
- Exclude .snapshot[s] directories eg GPFS HOT 1
- Issue with gufi_find command HOT 10
- gufi does not escape paths with special chars HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gufi.