What is the problem you are having with rclone?
rclone not obeying --min-age 6h filter.
File created 25 August 2019, 13:56
What is your rclone version (output from rclone version
)
rclone v1.49.3
-
os/arch: darwin/amd64
-
go version: go1.12.9
Which OS you are using and how many bits (eg Windows 7, 64 bit)
OSX Catalina
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
)
while :; do rclone move ./ kinvaratrail: --min-age 6h -P --transfers 2; sleep 1h; done
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
Log
2019/10/25 19:38:28 DEBUG : --min-age 6h0m0s to 2019-10-25 13:38:28.582586 -0500 CDT m=-21599.978602170
2019/10/25 19:38:28 DEBUG : rclone: Version "v1.49.3" starting with parameters ["rclone" "move" "./" "kinvaradrive:" "--min-age" "6h" "--transfers" "2" "-vv"]
2019/10/25 19:38:28 DEBUG : Using config file from "/Users/mz/.config/rclone/rclone.conf"
2019/10/25 19:38:29 INFO : Google drive root '': Waiting for checks to finish
2019/10/25 19:38:29 INFO : Google drive root '': Waiting for transfers to finish
2019/10/25 19:38:37 DEBUG : Pre-Lic_Imm-Checklist.pdf: MD5 = b29d9d62b3c94c9f1e5c585addc3a280 OK
2019/10/25 19:38:37 INFO : Pre-Lic_Imm-Checklist.pdf: Copied (new)
2019/10/25 19:38:37 INFO : Pre-Lic_Imm-Checklist.pdf: Deleted
I ran another test, with a fresh screenshot of the directory, and a copy of the file that transferred earlier, but shouldn't have. This time I set the age to 24h. The screenshot was correctly excluded, but the duplicate of the file wasn't excluded, and ended up in the move.
Log
while :; do rclone move ./ kinvaradrive: --min-age 24h --transfers 2 -vv; sleep 3600; done
2019/10/25 19:44:10 DEBUG : --min-age 1d to 2019-10-24 19:44:10.803687 -0500 CDT m=-86399.976742008
2019/10/25 19:44:10 DEBUG : rclone: Version "v1.49.3" starting with parameters ["rclone" "move" "./" "kinvaradrive:" "--min-age" "24h" "--transfers" "2" "-vv"]
2019/10/25 19:44:10 DEBUG : Using config file from "/Users/mz/.config/rclone/rclone.conf"
2019/10/25 19:44:10 DEBUG : Screen Shot 2019-10-25 at 7.43.35 PM.png: Excluded
2019/10/25 19:44:11 INFO : Google drive root '': Waiting for checks to finish
2019/10/25 19:44:11 INFO : Google drive root '': Waiting for transfers to finish
2019/10/25 19:44:20 DEBUG : Pre-Lic_Imm-Checklist copy.pdf: MD5 = b29d9d62b3c94c9f1e5c585addc3a280 OK
2019/10/25 19:44:20 INFO : Pre-Lic_Imm-Checklist copy.pdf: Copied (new)
2019/10/25 19:44:20 INFO : Pre-Lic_Imm-Checklist copy.pdf: Deleted
EDIT: Adding a stat.
$ stat Pre-Lic_Imm-Checklist\ copy\ 2.pdf
16777220 4087997 -rw-r--r-- 1 mz staff 0 560808 "Aug 25 13:56:28 2019" "Aug 25
13:56:28 2019" "Oct 25 19:51:55 2019" "Aug 25 13:56:28 2019" 4096 1096 0 Pre-Lic_Imm-Checklist copy.pdf