Comments (8)
Thanks a lot for letting me know!
Indeed, it doesn't seem to work at all and I could reproduce it well. If it's that broken, and was at some point deemed working, maybe a test is missing for it as well.
from dua-cli.
I've never tried ignore before with dua so do not know if it ever worked :). Thanks for looking into it!
from dua-cli.
@edrozenberg This looks to work as expected. To pass multiple ignore directories you have to specify them separately, like this:
dua -i /System/Volumes/Data/Volumes -i /System/Volumes/Data interactive /
from dua-cli.
@edrozenberg This looks to work as expected. To pass multiple ignore directories you have to specify them separately, like this:
dua -i /System/Volumes/Data/Volumes -i /System/Volumes/Data interactive /
Thanks but this does not work as expected, still getting an incorrect double-counted result:
sudo dua -i /System/Volumes/Data/Volumes -i /System/Volumes/Data interactive /
from dua-cli.
I think I know where this bug is coming from. Try this instead:
sudo dua -i System/Volumes/Data/Volumes -i System/Volumes/Data interactive /
dua
doesn't include the starting /
in the path which was causing your ignored directories not to match. However on my mac dua
still shows incorrect results - but probably for a different reason.
from dua-cli.
I think I know where this bug is coming from. Try this instead:
sudo dua -i System/Volumes/Data/Volumes -i System/Volumes/Data interactive /
dua
doesn't include the starting/
in the path which was causing your ignored directories not to match. However on my macdua
still shows incorrect results - but probably for a different reason.
Thanks this seems to work fine, but it shouldn't because if I don't include the /
for each path it should not find them if my current directory is not in the root of the drive. But it does find them somehow. [edit] I see it finds them based on the starting directory given, /
.
[~]$ sudo dua -i System/Volumes/Data/Volumes -i System/Volumes/Data interactive /
from dua-cli.
Thanks everyone for chiming in and for helping to solve this puzzle!
I can confirm that sudo dua -i System/Volumes/Data/Volumes -i System/Volumes/Data interactive /
works for me.
I think in order to resolve this, dua
should properly transform the paths to the format that it needs to make them work for it. That way, -i target/
, -i $PWD/target
or -i target/
will all work the same.
from dua-cli.
This should be fixed with the latest release, and I wasn't able to reproduce the issue anymore with the new version either.
Please let us know if the issue persists.
from dua-cli.
Related Issues (20)
- performance: dua-cli full scan takes way longer than gdu HOT 7
- Performance is constrained by single-core CPU speed when I/O does not depend on CPU HOT 4
- error[E0446]: crate-private type `FilesystemScan` in public interface HOT 5
- Interactive navigation for tree with millions of files is really slow HOT 5
- Got a trojan threat from Windows defender when using dua HOT 4
- `dua a` will get the all the sizes of its content if the argv is one directory instead of the directory itself
- Cursor line not visible with NO_COLOR HOT 2
- Exit warning
- dua doesn't show accuarate size less than 4.00 KiB
- 2.29 stopped working on Windows 7
- move to trash - IO deletion error HOT 6
- Dangerous CTRL+r hotkey HOT 5
- dua does not start on windows server 2022 HOT 3
- Show number of files and folders in overview and interactive mode HOT 2
- dua 2.29.0 fails to compile with rustc 1.80.0 HOT 9
- Please bring back the lock file! HOT 5
- Inlcusion in winget (Windows Package Manager) HOT 5
- Adding a new installation method to the README
- Directories themselves do not contribute to size like they do in `du` HOT 1
- Non-interactive tree output HOT 2
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 dua-cli.