Skip to content

Commit

Permalink
Updated to rclone 1.37
Browse files Browse the repository at this point in the history
  • Loading branch information
madslundt committed Aug 29, 2017
1 parent 570d80a commit 75e9a7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
These scripts are created to have your media synced between your cloud- and local store. All media is always encrypted before being uploaded.
This also means if you loose your encryption keys you can't read your media.

**Plexdrive version 4.0.0 and Rclone version 1.36 is used.**
**Plexdrive version 4.0.0 and Rclone version 1.37 is used.**

There is a setup file, `setup.sh`, to install the necessary stuff automatically. This has only been tested on Ubuntu 16.04+.

Expand Down Expand Up @@ -61,7 +61,7 @@ To install the necessary stuff manually do the following:
1. Install unionfs-fuse.
2. Install bc.
3. Install GNU screen.
4. Install [Rclone 1.36](https://downloads.rclone.org/rclone-current-linux-amd64.zip).
4. Install [Rclone 1.37](https://github.com/ncw/rclone/releases/download/v1.37/rclone-v1.37-linux-amd64).
5. Install [Plexdrive 4.0.0](https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/plexdrive-linux-amd64).
6. Create the folders pointing, in the config file, to `local_decrypt_dir` and `plexdrive_temp_dir`.
7. Run rclone bin, installed in step 4, with the parameter `--config=RCLONE_CONFIG config` where `RCLONE_CONFIG` is the variable set in the config file.
Expand Down
18 changes: 9 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
###################################
########## DOWNLOADS ##########
# Rclone
_rclone_url="https://github.com/ncw/rclone/releases/download/v1.36/rclone-v1.36-linux-amd64.zip"
_rclone_zip="rclone-v1.36-linux-amd64.zip"
_rclone_dir="rclone-v1.36-linux-amd64"
_rclone_release="rclone-v1.37-linux-amd64"
_rclone_zip="${_rclone_release}.zip"
_rclone_url="https://github.com/ncw/rclone/releases/download/v1.37/${_rclone_zip}"

# Plexdrive
_plexdrive_url="https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/plexdrive-linux-amd64"
_plexdrive_bin="plexdrive-linux-amd64"
_plexdrive_url="https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/${_plexdrive_bin}"
###################################

apt-get update
Expand All @@ -21,15 +21,15 @@ apt-get install screen -y
apt-get install unzip -y
apt-get install fuse -y

if [ ! -d "${rclone_dir}" ]; then
mkdir "${rclone_dir}"
if [ ! -d "${_rclone_release}" ]; then
mkdir "${_rclone_release}"
fi
wget "${_rclone_url}"
unzip "${_rclone_zip}"
chmod a+x "${_rclone_dir}/rclone"
cp -rf "${_rclone_dir}/*" "${rclone_dir}/"
chmod a+x "${_rclone_release}/rclone"
cp -rf "${_rclone_release}/*" "${_rclone_release}/"
rm -rf "${_rclone_zip}"
rm -rf "${_rclone_dir}"
rm -rf "${_rclone_release}"


if [ ! -d "${plexdrive_dir}" ]; then
Expand Down

0 comments on commit 75e9a7c

Please sign in to comment.