|
2013-07-13
, 12:43
|
Posts: 63 |
Thanked: 75 times |
Joined on Jul 2012
@ Austria
|
#12
|
G_LOGFILE="/home/user/logs/cloudsync.txt" echo "logger text and output.." >> $G_LOGFILE # after removing the lock file xdg-open /home/user/logs/cloudsync.txt
The Following 3 Users Say Thank You to N9uwu For This Useful Post: | ||
|
2018-11-27
, 05:12
|
Posts: 562 |
Thanked: 1,732 times |
Joined on Jan 2010
@ NYC
|
#13
|
|
2018-11-27
, 09:51
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#14
|
Would this still work? I'm thinking about dropping the owncloud cli-tool and use this. Since currently owncloud is holding me back from using newer vers of nextcloud on the desktop
|
2018-11-28
, 01:42
|
Posts: 562 |
Thanked: 1,732 times |
Joined on Jan 2010
@ NYC
|
#15
|
Tags |
cloud sync, maemo 5 |
|
As far as I know (and now checking from wikipedia confirms this) the linux rsync divides all files into fixed size blocks and only transmits the differing blocks based on checksumming algorithm. (source: http://en.wikipedia.org/wiki/Rsync, see the section "Determining which parts of a file have changed")
A short test of my own; I transferred a binary file of about 9MB with cloudsync.sh, then hexedited it so that I changed just one byte somewhere about middle of the file, and resent it.
The "speedup is 273.79" means that the filesize/(sent_bytes+received_bytes) = 273.79, so only 2.7% of the total file size needed to be sent on the second round.
Last edited by juiceme; 2013-04-29 at 05:44. Reason: Added some info