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

provide multiple input to calculate total usage #367

Open
danie-dejager opened this issue Jun 13, 2024 · 1 comment
Open

provide multiple input to calculate total usage #367

danie-dejager opened this issue Jun 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@danie-dejager
Copy link
Collaborator

danie-dejager commented Jun 13, 2024

Is your feature request related to a problem? Please describe.
I have client data stored in batches and with some bash I can get a list of directories where the data is. Ideally I would want to pass this list to gdu so it can give me a total used. Potentially appending each location to the existing file output.

→ gdu -npsa /root /home
Error: accepts at most 1 arg(s), received 2

Describe the solution you'd like
Ideally I would want to pass this list of different locations (containing many thousands of locations) to gdu so it can give me a total used.

Describe alternatives you've considered
Now I have to run gdu for each location, save the total and calculate the total at the end.

@dundee dundee added the enhancement New feature or request label Jun 13, 2024
@dundee
Copy link
Owner

dundee commented Jun 13, 2024

I will be probably a bit difficult to implement but it makes a lot of sense!

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