Hi all,
In a shell script, how can I do the following:
Find out the size of a mounted usb stick (df -h /media/usbdisk) and use the
result (physical size of USB stick) to set a loop-counter according to the disk size??
As a result, I do copy files of 4MB each as many times as they will fit on the usb-stick. So I can use a stick of any size...
--> I need to divide the diskspace by filsize - that's clear to me 
Thanks a lot in advance,
Joerg