klasor boyutlari
Kullanıcıların posta kutusunun boyutunu listelemek için (Maildir) kullanılabilir;
du -h /home/kullanicilar | awk ‘$1 ~/M/ {sub(/M/, “Mb”); print $0}’ | awk ‘$2 ~/.Maildir$/{print $0}’|sort -n
20Mb den büyük dosyaları listelemek için
find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’
Klasörde dosya isimlerindeki boşlukları ve büyük harfleri düzeltmek için;
#!/bin/bash
for f in *; do
file=$(echo $f | tr A-Z a-z | tr ‘ ‘ _)
[ ! -f $file ] && mv “$f” $file
done
Jun132009
Tags
awk axis bash bat batch big files birlikte aç db2 delete disk autorun disk open with dreambox du edg-nemesis find hidden mp3 ibm lms ibm wcl ibm wcs learning management system lmsapi LMSRosterAPI maildir maildir size mp3 mysql nabilo open with passwd password remove all remove space in file rename reset reset password reset root root skybox ssh ssh push vi vim vimproved workplace workplace collaborative learning

Hi, gr8 post thanks for posting. Information is useful!