ls -s gives the size in blocks.
You could use it this way
ls -las
for details as well.
Then setup a cron job to run it . but...
won't rsync display a new line every-time the file's downloaded size is updated to the terminal (shell)?
http://www.linuxquestions.org/questi...-files-721873/
Quote:
ref. http://blog.lxpages.com/ (gone!)
Apr17
Fun With Rsync - Part I
What is Rsync?
rsync is a file transfer program for Unix systems. rsync uses the “rsync algorithm” which provides a
very fast method for bringing remote files into sync. It does this by sending just the differences in
the files across the link, without requiring that both sets of files are present at one of the ends of
the link beforehand. Some features of rsync include
1. Can update whole directory trees and filesystems
2. Optionally preserves symbolic links, hard links, file ownership, permissions, devices and times
3. Requires no special privileges to install
4. Internal pipelining reduces latency for multiple files
5. Can use rsh, ssh or direct sockets as the transport
6. Supports anonymous rsync which is ideal for mirroring
|
http://samba.anu.edu.au/rsync/
I hope this helps you, regards Glenn