What is the problem you are having with rclone?
So when I run this with incrond incrond fires off rclone 3 time for a "touch file.txt" in the watched folder. The result is 3 files in the folder on Google Drive not 1.
Even when I run the straight rclone below it does not corect the multiple copiies of the file int he folder...says it just ignores them? not sure why.
The below command is the incrond which use the rclone is embedded in the statement.
If I iremove the IN_ATTRIB then I get 1 file..if I add IN_CREATE I will get 3 files.....just not the expected behavioir.
/home/mounts/localdisk/LINUXBACKUP/binlog/ IN_ATTRIB,IN_CLOSE_WRITE,IN_DELETE rclone sync /home/mounts/localdisk/LINUXBACKUP/binlog/ GoogleDLinux:LINUXBACKUP/BINLOGS/ --log-level DEBUG --log-file /tmp/incron.txt
What is your rclone version (output from rclone version
)
rclone v1.49.5
-
os/arch: linux/amd64
-
go version: go1.12.10
Which OS you are using and how many bits (eg Windows 7, 64 bit)
ubuntu 64bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
2019/10/27 14:54:17 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rclone" "sync" "/home/mounts/localdisk/LINUXBACKUP/binlog/" "GoogleDLinux:LINUXBACKUP/BINLOGS/" "--log-level" "DEBUG" "--log-file" "/tmp/incron.txt"]
2019/10/27 14:54:17 DEBUG : Using config file from "/home/bostonmacosx/.config/rclone/rclone.conf"
2019/10/27 14:54:18 NOTICE: test.txt: Duplicate object found in destination - ignoring
2019/10/27 14:54:18 INFO : Google drive root 'LINUXBACKUP/BINLOGS': Waiting for checks to finish
2019/10/27 14:54:18 DEBUG : mysql-bin.000002: Size and modification time the same (differ by 0s, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000002: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.000001: Size and modification time the same (differ by 0s, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000003: Size and modification time the same (differ by 0s, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000003: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.000001: Unchanged skipping
2019/10/27 14:54:18 DEBUG : test.txt: Size and modification time the same (differ by -675.131µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000004: Size and modification time the same (differ by -316.31µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.index: Size and modification time the same (differ by -582.75µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000004: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.000007: Size and modification time the same (differ by -582.75µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000007: Unchanged skipping
2019/10/27 14:54:18 DEBUG : test.txt: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.000006: Size and modification time the same (differ by -732.042µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000006: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.index: Unchanged skipping
2019/10/27 14:54:18 DEBUG : mysql-bin.000005: Size and modification time the same (differ by -991.616µs, within tolerance 1ms)
2019/10/27 14:54:18 DEBUG : mysql-bin.000005: Unchanged skipping
2019/10/27 14:54:18 INFO : Google drive root 'LINUXBACKUP/BINLOGS': Waiting for transfers to finish
2019/10/27 14:54:18 INFO : Waiting for deletions to finish
2019/10/27 14:54:18 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 9 / 9, 100%
Transferred: 0 / 0, -
Elapsed time: 0s
2019/10/27 14:54:18 DEBUG : 5 go routines active
2019/10/27 14:54:18 DEBUG : rclone: Version "v1.49.5" finishing with parameters ["rclone" "sync" "/home/mounts/localdisk/LINUXBACKUP/binlog/" "GoogleDLinux:LINUXBACKUP/BINLOGS/" "--log-level" "DEBUG" "--log-file" "/tmp/incron.txt"]