$ for i in `ls -1 <path>`; do
mp=`findmnt -n -o SOURCE --target $i`;
if [ "$mp" = <mount-point> ]; then
echo "Process $i";
sudo du -hs $i;
fi
done
Files
Latest commit
This branch is 63 commits behind artpol84/poc:master.
linux
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||