Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-09-2007, 04:33 AM   #1
Registered: Mar 2007
Posts: 109

Rep: Reputation: 15
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.

Old 05-09-2007, 05:29 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 58
Try the time command.
For example: time ls -al


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find & Transfer to FTP Script DjRakso Linux - Newbie 3 03-01-2007 03:44 AM
shell script to transfer file from ftp bbgtilak Linux - General 1 12-27-2006 07:35 AM
Using BASH script to transfer a file via (s)ftp senther Linux - Newbie 2 07-19-2005 04:47 PM
ftping from a script file transfer incomplete Pelargonium Linux - Newbie 3 07-29-2004 12:56 PM
A way to script file transfer from Linux to windows? jkcunningham Linux - Networking 11 11-21-2002 07:58 PM

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration