asdffdsa
(jojothehumanmonkey)
August 9, 2024, 5:51pm
41
stevecoh1:
recommend?
follow the docs and use default settings as much as possible.
stevecoh1
(Steve Cohen)
August 9, 2024, 6:20pm
42
okey-dokey! Got the client id setup and it works.
Now on to step 2. Add a systemd timer to run the bisync
Would you recommend this tutorial, which looks fairly straightforward and recent?
# Tutorial: Sync Google Drive files on Linux with Rclone bisync and systemd
If you are using Google Drive (or similar cloud storage) for your decoy activities when trying to appear as a normal person, then this tutorial may be useful for you.
Google Drive doesn't provide native bi-directional file syncing application on Linux and almost all solutions either suck or are paid. One free option is Rclone - Rclone is a great project, but the configuration interface is utterly horrible (if there's interest I can write down all the things that are wrong with it), so in this tutorial I'll try to provide a specific pre-configured setup to make this hopefully less painful. As you can see the following steps are mostly manual and runnable by a copypaste woodpecker, so this will hopefully automated away in the future.
**High level summary**
- Install rclone
- Create Google Drive "remote" connection (called "drive")
- Create filter file to ignore some files from syncing
- Create a command using new feature called `rclone bisync` and run this command for the first time
- [optional] Create systemd service to run the same command for you
- [optional] Create systemd timer to run the service regularly
- [optional] Create systemd path watcher to run the service automatically when you change the files
**Files & Folders**
- `$HOME/.config/rclone/rclone.conf` - rclone config for your connection
- `$HOME/.config/systemd/user/` - folder to put your systemd services and watchers (and rclone filters file for our case)
- `$HOME/sync/` - folder where we put the actual files.
**Common commands & Required knowledge**
This file has been truncated. show original
Any further questions will be on a new topic. I feel "beginner" no longer captures this conversation.
asdffdsa
(jojothehumanmonkey)
August 9, 2024, 6:31pm
43
Usually for Linux related stuff I read Arch wiki:
https://wiki.archlinux.org/title/Systemd/Timers
For bisync I would like to stress (as it is common mistake) that rclone bisync --resync
has to be run only once (first time, so from command line probably) and --resync
flag has to be removed for subsequent runs.
Bisync has excellent documentation nowadays:
It can look a bit overwhelming initially so good idea is to start simple and with some test data. Most options are not needed unless for special cases so no panic:)
stevecoh1
(Steve Cohen)
August 9, 2024, 6:59pm
45
continuing this in new topic as this is getting long. Part 1, getting the mount going is finished. On to bisync in a systemd timer.
Please describe your goal and overall setup. I am not sure if both bisync and mount are needed...
But yeah lets do it in the new thread:)
stevecoh1
(Steve Cohen)
August 9, 2024, 7:03pm
47
stevecoh1
(Steve Cohen)
August 9, 2024, 9:30pm
48
That new thread is at Rclone bisync in systemd . I'd be very interested to hear if you think I don't need to bother with bisync at all given my modest requirements listed above. I have tried and could not make it work, even as a command line option, and not even a service.
system
(system)
Closed
August 12, 2024, 9:31pm
49
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.