fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
1.01k stars 97 forks source link

Can I check TAR folder structure #39

Closed dfrancocci closed 4 years ago

dfrancocci commented 4 years ago

Hi - this project looks great, and I'm pleased for the people who got it installed - but I am having problems with installation.

The first problem I had was with the TAR creation. The supplied shell script didn't work for me - I am using Ubunutu on WSL. When I try the script, I get:

dfrancocci@DESKTOP-CLMLFTK:/mnt/c/Users/dfran/Source/KoboCloud$ ./makeKoboRoot.sh
: not foundoot.sh: 2: ./makeKoboRoot.sh:
etc/
etc/udev/
etc/udev/rules.d/
etc/udev/rules.d/97-kobocloud.rules
tar: usr\r: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

So, I figured that you wanted the TAR to contain the etc and usr folders, but not the src folder, so instead I tried:

dfrancocci@DESKTOP-CLMLFTK:/mnt/c/Users/dfran/Source/KoboCloud$ tar -cvzf KoboRoot.tgz -C src ./etc ./usr
./etc/
./etc/udev/
./etc/udev/rules.d/
./etc/udev/rules.d/97-kobocloud.rules
./usr/
./usr/local/
./usr/local/kobocloud/
./usr/local/kobocloud/ca-bundle.crt
./usr/local/kobocloud/config.sh
./usr/local/kobocloud/config_kobo.sh
./usr/local/kobocloud/config_pc.sh
./usr/local/kobocloud/curl
./usr/local/kobocloud/get.sh
./usr/local/kobocloud/getDropboxFiles.sh
./usr/local/kobocloud/getGDriveFiles.sh
./usr/local/kobocloud/getOwncloudFiles.sh
./usr/local/kobocloud/getOwncloudList.sh
./usr/local/kobocloud/getpCloudFiles.sh
./usr/local/kobocloud/getRemoteFile.sh
./usr/local/kobocloud/kobocloudrc.tmpl
./usr/local/kobocloud/udev_mount.sh
./usr/local/kobocloud/udev_program.sh
./usr/local/kobocloud/uninstall.sh
dfrancocci@DESKTOP-CLMLFTK:/mnt/c/Users/dfran/Source/KoboCloud$

Could you confirm if this is the correct structure for the TAR file?

I copied it to the .kobo folder, and my Kobo restarted and did some installation, but when I reconnected to my PC, I don't see the .add folder:

kobo-folders

I'm trying to install this on Kobo Clara HD.

Dom

dfrancocci commented 4 years ago

I installed the ready-made KoboRoot.tgz file from the releases page, and this has successfully created the .add folder - so I'll take it from there.

I didn't realise that you could add the sharing links after the installation, so I'll do that now.

Closing this issue - thanks.