du -s dir

ls -l |awk '{print $9}' | xargs du -s #for each directory

computer2know :: thank you for your visit :: have a nice day :: © 2024