![]() |
Re: cloudsync.sh, replacement to DropBox and whatever you have
Quote:
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. Code:
Apr 29 08:25:50 (2013) cloudsync: Triggered upload from filesystem 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. |
Re: cloudsync.sh, replacement to DropBox and whatever you have
First of all, thanks for the script. After using it for some time I wanted to have easy access to the log, as well as a way of knowing when a sync is done. This is how I do it:
1) Redirect all output/logging to a log file (.txt extension) 2) After removing the lock file, open the txt-file via xdg-open (launches the document viewer) Code:
G_LOGFILE="/home/user/logs/cloudsync.txt" |
Re: cloudsync.sh, replacement to DropBox and whatever you have
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.
x |
Re: cloudsync.sh, replacement to DropBox and whatever you have
Quote:
|
Re: cloudsync.sh, replacement to DropBox and whatever you have
Okay I might need your assistance once I get around to trying this. Since I'm hoping to have it sync in both ways. which I know you didn't want for your use.
Would be amazing if I could get this going reliably. Since I then can still sync my caldav & cardiac with the newer nextcloud and then all is well again. x |
All times are GMT. The time now is 22:01. |
vBulletin® Version 3.8.8