LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 15
script to find out time taken to transfer a file


Hi,

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.


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

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 02:21 PM.

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