10-31-2012, 12:36 PM | #1 |
Member
Posts: 14
Karma: 2954
Join Date: Oct 2012
Device: Kindle Touch
|
Rsync on Kindle Touch
Hi!
Is there a way to make rsync work in my KT? My goal is to make a script to sync my mnt/us directory to a dropbox folder, so i can sync my kindle everytime i get into a wi fi connection. I dont have great scripting skills, but i'm trying to get into it, if someone point me a way! I already managed to get ssh working through wi-fi, but im stuck now. Thanks in advance! |
10-31-2012, 01:36 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle doom]# rsync
PHP Code:
http://linux.die.net/man/1/rsync about two pages down should do you. you have the app right? Last edited by twobob; 10-31-2012 at 03:01 PM. |
Advert | |
|
10-31-2012, 02:16 PM | #3 |
Member
Posts: 14
Karma: 2954
Join Date: Oct 2012
Device: Kindle Touch
|
well here is what i did
i download the last release at http://rsync.samba.org/ftp/rsync/ copied to kindle unziped uzing tar went inside directory and ./configure error configure.sh: error: in `/bin/rsync-3.0.9': configure.sh: error: no acceptable C compiler found in $PATH |
10-31-2012, 02:34 PM | #4 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
If launching from the host machine, the script below may need tweaking for use over wifi, instead of using the /media drive on the host linux machine.
https://www.mobileread.com/forums/sho...ighlight=rsync |
10-31-2012, 02:49 PM | #5 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: It's bundled in USBNet .
|
Advert | |
|
10-31-2012, 03:00 PM | #6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
10-31-2012, 03:10 PM | #7 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Actually, it might very well be part of the base system on the K5, too. Can't remember if that was rsync or lsof...
|
10-31-2012, 03:17 PM | #8 |
Member
Posts: 14
Karma: 2954
Join Date: Oct 2012
Device: Kindle Touch
|
seems like rsync isnt installed as i cant run it from terminal. I got the error "command not found"
then i downloaded binaries from http://rsync.samba.org/ftp/rsync/ unzipped and tried to install this is the errors i get /bin/rsync-3.0.9$ ./prepare-source ./prepare-source: line 49: make: not found /bin/rsync-3.0.9$ make /bin/rsync-3.0.9$ ./configure configure.sh: Configuring rsync 3.0.9 checking build system type... armv7l-unknown-linux-gnu checking host system type... armv7l-unknown-linux-gnu checking whether to include debugging symbols... yes checking for gcc... no configure.sh: error: in `/bin/rsync-3.0.9': configure.sh: error: no acceptable C compiler found in $PATH See `config.log' for more details checking for cc... no checking for cl.exe... no Last edited by leonardo84; 10-31-2012 at 03:25 PM. Reason: aditional info |
10-31-2012, 03:52 PM | #9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
worked example:
me@dev ~ $ rsync -uLrvkn --ipv4 --progress --include="*" ~/GIT/buildroot-k3-current/output/target/usr/ root@k:/mnt/us/usr or on the kindle [root@kindle root]# rsync -urvn --ipv4 --progress --include="*" me@dev:~/GIT/buildroot-k3-current/output/target/usr/ /mnt/us/usr for example. (remove n for actually doing something) or... rsync -vzLS --ipv4 --progress /multistrap-debian-sid/rsync/debian.ext3 root@kt:/mnt/us/debian.ext3 or Code:
rsync -vzL --inplace --ipv4 --progress /multistrap-debian-sid/rsync/debian.ext3 root@kt:/mnt/us/debian.ext3
Last edited by twobob; 11-15-2012 at 01:16 PM. |
10-31-2012, 04:02 PM | #10 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
My first thought: It's not in your path. for some reason. /usr/bin/rsync on the 3 I have bundled a version for the 5. you cant just "make" on the device just yet OOTB. working on it. EDIT: I configure my device like: http://minimodding.com/article9-Kind...ng-custom-apps for running custom apps |
|
10-31-2012, 04:43 PM | #11 | |
Member
Posts: 14
Karma: 2954
Join Date: Oct 2012
Device: Kindle Touch
|
Quote:
|
|
10-31-2012, 05:31 PM | #12 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
Tags |
k5 tools |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to easily backup all your notes, marks & reading positions with rsync under Linux | Dylan Tomorrow | Amazon Kindle | 5 | 10-26-2012 03:18 PM |
Rsync failure, Database repair, missing books | laird | Library Management | 3 | 08-24-2012 04:47 AM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 07:58 PM |
Request Geek Tools for moving files to/from the Library: ssh/sftp/rsync/samba | kenjennings | enTourage Archive | 6 | 04-06-2010 11:36 PM |
rsync | thetechnobear | iRex | 1 | 03-05-2008 01:57 PM |