Wow that's really kind of you, just got out of bed and I'll try it now.
Thanks again :-)


MEDIATYPE=`du -aS | sort -nr | sed -n '2p' | awk -F. '{print $NF}'`
MEDIATYPE=`du -a | sort -nr | sed -n '2p' | awk -F. '{print $NF}'`




sensei73 wrote:hi, i tried to download the script but i coulnd acces the site....please help!
anyway I have a question can it work with windows? thanks






du: illegal option -- S
usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m] [-n] [-x] [-I mask] [file ...]
Content is
No files found (file could be under 25M)
Processing error occured
Preserving source folder
Done!
usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m] [-n] [-x] [-I mask] [file ...]
Content is
No files found (file could be under 25M)
Processing error occured
Preserving source folder
Done!

MEDIATYPE=`du -aS | sort -nr | sed -n '2p' | awk -F. '{print $NF}'`MEDIATYPE=`du -a | sort -nr | sed -n '2p' | awk -F. '{print $NF}'`


Return to Post-Processing Scripts