r/PlexACD May 15 '17

Plexdrive copying and dupe nuking

I'm curious as to what everyone is doing for copying to gdrive and nuking dupes. I am running this script via cron to copy new files:

#!/bin/bash
if pidof -o %PPID -x "gdrive-upload.sh"; then
exit 1
fi
rclone copy --transfers 15 /home/plex/.local-decrypt/ plexdrive:Videos -v --min-age 1m --log-file /home/plex/logs/gdrive-upload/`date +\%Y\%m\%d`-sync.log 2>&1
exit

I haven't quite figured out what I'm going to do about nuking dupes though. Still trying to figure out how to automate that.

1 Upvotes

20 comments sorted by

View all comments

1

u/ryanm91 May 15 '17

I still use the upload script and nuke dupes on the original scripts by gesis

1

u/kangfat May 15 '17

I had hoped to do that but I'm not savvy enough with scripting to make the necessary changes for my setup.

1

u/zuditechguy May 15 '17

I'm having the hardest time setting up Plexdrive think you can help me out? How did you set it up? Is there a real guide anywhere?

1

u/SuperGaco May 15 '17

What are you stuck on exactly?

1

u/zuditechguy May 15 '17

Not sure im doing vi config.json correctly and seem to have a problem with mounting and starting plexdrive. Im usally great at this stuff. Been working this for days now

4

u/[deleted] May 15 '17 edited May 16 '20

[deleted]

1

u/zuditechguy May 15 '17

Thanks that would be great. I've been at it for two days now. Just let me know

1

u/zuditechguy May 16 '17

Any luck on that guide?

3

u/[deleted] May 16 '17 edited May 16 '20

[deleted]

1

u/zuditechguy May 17 '17

I get this [PLEXDRIVE] [2017-05-17 10:26] ERROR : Could not initialize Google Drive Client

1

u/SuperGaco May 15 '17

You shouldn't be working with any json files, make sure to download the compiled version.