Skip to content

Instantly share code, notes, and snippets.

@hasayvaz
Created December 12, 2010 22:56
Show Gist options
  • Save hasayvaz/738434 to your computer and use it in GitHub Desktop.
Save hasayvaz/738434 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Istediginiz kota sinirini giriniz "
read kota
echo "Kota sinirini asan kullanicilar"
echo " "
du -s $(readlink -f $HOME/..)/* 2>/dev/null | while read dosya; do
boyut=`echo $dosya | cut -d ' ' -f1`
kul=`echo $dosya | cut -d ' ' -f2`
if [ $boyut -gt $kota ]; then
echo $kul
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment