Friday, March 1, 2013

How fast is your file transfer proceeding?


D=`ls -l $dest_file|awk '{print $5}'`
S=`ls -l $src_file | awk '{print $5}'`
echo "$D/$S * 100" | bc -l

Prints out a %age value of the copied file.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home