script to find out time taken to transfer a file
I need to write a script to find out the time taken to transfer a file.
i am planning to use rsync, and the file transfer takes place fine, but i dont knoe how to find out the time taken to trasfer the file.
Is there any command to do this, or do you have to use logic.
Please can anyone give me an details on how to do this.
Thanks in advance.