78 字
1 分钟
Finding the Files Taking Up the Most Space on openwrt

OpenWrt’s find command doesn’t support the -size +1M format. So if we want to find and sort files larger than 1M, we can use -size +1048576c instead. 1048576 is the number of bytes in 1MB; c means the count is in bytes.

Terminal window
find / -type f -size +1048576c -exec du -h {} \; # 查找大于1M的文件

Then you can delete the unnecessary files — after all, space on a hardware router is precious.

Finding the Files Taking Up the Most Space on openwrt
https://tski.uk/blog/en/router-openwrt-common-operate/
作者
Tokisaki Galaxy
发布于
2024-02-09
许可协议
CC BY