diff options
author | Simon Doppler <dopsi@dopsi.ch> | 2019-01-23 08:55:38 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-01-24 08:24:09 +0100 |
commit | 74efdfaf97ff538bd5bc18d15bc1854e15a7ad05 (patch) | |
tree | 0dea4af2bc75dace972fa737e7d039bd02da7fac /doc | |
parent | 2409cc7a327f29e3f630efc0c4fc35797324b0b8 (diff) |
Add a '--follow-symlinks' option
Symlink loops are handled by the stat(2) syscall. Symlinks pointing to a
directory are ignored (to avoid loops in the recursive scan).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ncdu.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ncdu.pod b/doc/ncdu.pod index c499a40..eaa0ddc 100644 --- a/doc/ncdu.pod +++ b/doc/ncdu.pod @@ -172,6 +172,11 @@ displayed, but not their content, and they are not counted towards the disk usage statistics. See http://www.brynosaurus.com/cachedir/ +=item -L,--follow-symlinks + +Follow symlinks (except to directories) 00and count the size of the file +they point to. Symlink loops and directories will be ignored. + =back |