gdu icon indicating copy to clipboard operation
gdu copied to clipboard

provide multiple input to calculate total usage

Open danie-dejager opened this issue 1 year ago • 1 comments

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.

danie-dejager avatar Jun 13 '24 10:06 danie-dejager

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

dundee avatar Jun 13 '24 13:06 dundee