What is the problem you are having with rclone?
Whenever I run rclone move with --min-age, it takes 20-25 minutes before it actually starts moving directories. In that time, it just gives me the "Excluded from sync (and deletion)" logs during that time. I assume this is because it checks the age of each file in the directory and excludes the ones that don't fill the criteria but I was hoping to speed up this process as it starts to take up several hours when I move from small text files like i used in the logs to larger files and directories.
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
Which cloud storage system are you using? (eg Google Drive)
AWS
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
subprocess.run(
[
"rclone",
"-vv",
f"--bwlimit=12M",
"move",
Path(local_dir),
dest,
f"--min-age=7d",
"--order-by=modtime,descending",
"--delete-empty-src-dirs",
"--fast-list",
]
)
A log from the command with the -vv
flag
Here's what it looks like when I use --min-age:
2022/03/01 11:19:49 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "--bwlimit=12M" "move" "<local_src_path>" "localhost:<dest_path>" "--min-age=7d" "--order-by=modtime,descending" "--delete-empty-src-dirs" "--fast-list"]
2022/03/01 11:19:49 DEBUG : Creating backend with remote "<path>"
2022/03/01 11:19:49 DEBUG : Using config file from "<rclone_path>"
2022/03/01 11:19:49 DEBUG : Creating backend with remote "localhost:<dest_path>"
2022/03/01 11:19:49 DEBUG : tst4.txt: Excluded
2022/03/01 11:19:49 DEBUG : test1.txt: Excluded
2022/03/01 11:19:49 DEBUG : test.txt: Excluded
2022/03/01 11:19:49 DEBUG : 2022/02/23/00/rclone-move-testfile-0.txt: Excluded from sync (and deletion)
2022/03/01 11:19:49 DEBUG : 2022/02/23/00/rclone-move-testfile-1.txt: Excluded from sync (and deletion)
2022/03/01 11:19:49 DEBUG : 2022/02/23/00/rclone-move-testfile-10.txt: Excluded from sync (and deletion)
That goes on for about 25 minutes. Here's what it looks like when I remove --min-age
2022/03/01 12:01:11 INFO : Starting bandwidth limiter at 12Mi Byte/s
2022/03/01 12:02:04 INFO : 2022/03/02/02/rclone-move-testfile-151.txt: Deleted
2022/03/01 12:02:04 INFO : 2022/03/02/02/rclone-move-testfile-147.txt: Deleted
2022/03/01 12:02:04 INFO : 2022/03/02/02/rclone-move-testfile-150.txt: Deleted
2022/03/01 12:02:04 INFO : 2022/03/02/02/rclone-move-testfile-144.txt: Deleted
2022/03/01 12:02:04 INFO : 2022/03/02/02/rclone-move-testfile-148.txt: Deleted