I have been using bash on my Synology NAS (which runs BusyBox). I recently needed to reinstall the OS. Now a script I have that uses du to generate a file containing folder sizes fails because du now has fewer options. i.e. du -hc --max-depth=1 --exclude=deleted --exclude=README.txt --exclude=#recycle /path/to/event_media/* >> /path/to/media_files_list.txtgives me:du: unrecognized option '--max-depth=1'So when I...du --helpI get.. BusyBox v1.16.1 (2014-05-29 11:29:56 CST) multi-call binary.Usage: du [-aHLdclsxhmk] [FILE]...Summarize disk space used for each FILE and/or directory.Disk space is printed in units of 1024 bytes.Options:    -a      Show file sizes too    -L      Follow all symlinks    -H      Follow symlinks on command line    -d N    Limit output to directories (and files with -a) of depth < N    -c      Show grand total    -l      Count sizes many times if hard linked    -s      Display only a total for each argument    -x      Skip directories on different filesystems    -h      Sizes in human readable format (e.g., 1K 243M 2G )    -m      Sizes in megabytes    -k      Sizes in kilobytes (default)There is a reduced set of options.Can anyone please help me understand what has changed and how to set it up to regain access to the full set of options such as max-depth and exclude?
Why are du some options not available
disk usage;busybox