mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
feature: Support for dereference links -L follow
du has -L flag which allows it to dereference or follow symlinks. Clone this feature into dust. https://github.com/bootandy/dust/issues/276
This commit is contained in:
+4
-2
@@ -35,8 +35,10 @@ _dust() {
|
||||
'--version[Print version information]' \
|
||||
'-p[Subdirectories will not have their path shortened]' \
|
||||
'--full-paths[Subdirectories will not have their path shortened]' \
|
||||
'-l[Ignore links]' \
|
||||
'--ignore-links[Ignore links]' \
|
||||
'(-L --dereference-links)-l[Ignore links]' \
|
||||
'(-L --dereference-links)--ignore-links[Ignore links]' \
|
||||
'(-l --ignore-links)-L[dereference sym links - Treat sym links as directories and go into them]' \
|
||||
'(-l --ignore-links)--dereference-links[dereference sym links - Treat sym links as directories and go into them]' \
|
||||
'-x[Only count the files and directories on the same filesystem as the supplied directory]' \
|
||||
'--limit-filesystem[Only count the files and directories on the same filesystem as the supplied directory]' \
|
||||
'-s[Use file length instead of blocks]' \
|
||||
|
||||
Reference in New Issue
Block a user