What is the problem you are having with rclone?
After moving and organizing directories on my source and using rclone sync to synchronize data on my S3 drive, old empty directories remain. I have also used rmdirs command after sync and while the -vv log file lists all directories the command removed, not a single one is actually deleted. Each time, this command "deletes" the same directories without error, but the directories remain.
What is your rclone version (output from rclone version
)
rclone v1.56.0
- os/version: Microsoft Windows 10 Home 2009 (64 bit)
- os/kernel: 10.0.19042.1165 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.16.5
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
IDrive S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
.\rclone.exe rmdirs chrisidrive:chrisidrive/ -P -vv
The rclone config contents with secrets removed.
[chrisidrive]
type = s3
provider = Other
access_key_id =
secret_access_key =
region = us-east-1
endpoint = s3.us-east-1.idrivecloud.io
location_constraint = us-east-1
A log from the command with the -vv
flag
PS C:\Program Files\Rclone> .\rclone.exe rmdirs chrisidrive:chrisidrive/ -P -vv
2021/08/28 18:55:58 DEBUG : rclone: Version "v1.56.0" starting with parameters ["C:\\Program Files\\Rclone\\rclone.exe" "rmdirs" "chrisidrive:chrisidrive/" "-P" "-vv"]
2021/08/28 18:55:58 DEBUG : Creating backend with remote "chrisidrive:chrisidrive/"
2021/08/28 18:55:58 DEBUG : Using config file from "C:\\Program Files\\Rclone\\rclone.conf"
2021/08/28 18:55:58 DEBUG : fs cache: renaming cache item "chrisidrive:chrisidrive/" to be canonical "chrisidrive:chrisidrive"
...
2021-08-28 18:58:06 DEBUG : Documents/Blog/Welcome To Haiti: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Spam: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Financial: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Blog 5 - Hands Together/Not Used: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Blog 5 - Hands Together: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Blog 4: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Blog 3: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Blog 2: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog/Art: Removing directory
2021-08-28 18:58:06 DEBUG : Documents/Blog: Removing directory
Transferred: 0 / 0 Byte, -, 0 Byte/s, ETA -
Deleted: 0 (files), 306 (dirs)
Elapsed time: 2m8.6s
2021/08/28 18:58:06 DEBUG : 18 go routines active