![]() in the OP example of rclone rmdirs, he/she/it was trying to delete an empty dir that was a subdir of another dir.There is just one thing doesn’t add up for me: INFO : S3 bucket testfolder01 path .on.to.create.an.empty.folder: Bucket "testfolder01" created with ACL "private" NOTICE: S3 bucket testfolder01 path .on.to.create.an.empty.folder: Warning: running mkdir on a remote which can't have empty directories does nothingĭEBUG : S3 bucket testfolder01 path .on.to.create.an.empty.folder: Making directory rclone mkdir wasabi01:testfolder01/.on.to.create.an.empty.folder -vv I had a long conversation with ncw, that rclone should allow the creation of an empty dir, but as you can see from this log, rclone can sometimes be cruel with it output. Status code: 409, request id: FD7B47416F7D9035, host id: q9/VvfvG0e6ZQHNGgA2jW63MqNxcg8fnSnXS4AtG3wNInknw8+dN0IoWrL6e7A1U0aCw4Er+jP6R Rclone purge wasabi01:testfolder01 -retries=1 -vv Rclone delete -rmdirs wasabi01:testfolder01 -retries=1 -vv Status code: 409, request id: 53F73D404C247EE9, host id: cpY74hhHD/OWOUHMIik78UM9N7conGTIFX0im2MopJ8UZJfEIM0HUd8A2sXBOEuAaJ4u09iwSKtr Rclone rmdirs wasabi01:testfolder01 -retries=1 -vvĭEBUG : rclone: Version "v1.56.0" starting with parameters ĭEBUG : S3 bucket testfolder01: Removing directoryĮRROR : : Failed to rmdir: BucketNotEmpty: The bucket you tried to delete is not empty Here is the debug log, lightly edited rclone lsd -R wasabi01:testfolder01 On the second hand, rclone delete -rmdirs I tried and failed to delete the empty dir So using my third hand, i created an empty dir. So, as i was writing, before i was rudely self-interrupted, it is possible to have empty dir on s3. On my third hand and NO, that is not what you are thinking is i am using a famous sci-fi reference and a free virtual for whomever can tell me the source of that reference. On the second hand, rclone mkdir, on s3, will not create an empty dir. One the one hand, rclone rmdirs will only remove an empty set of dirs. I would like to quickly test but kinda of catch- 33. ![]() Note, it is hard to be humorous in a post, but i am going to try. With the GUI, the directories remove (from the Windows Explorer GUI) for a few minutes and then reappear a few minutes later. Using rclone mount Windows explorer GUI or rclone command line, I cannot remove these directories. I can successfully remove directories with APIs like Cyberduck or the web interface for the account. \rclone lsd chrisidrive:chrisidrive/Documents/Blog \rclone rmdir chrisidrive:chrisidrive/Documents/Blog/Spam \rclone rmdirs chrisidrive:chrisidrive/Documents/Blog \rclone lsf chrisidrive:chrisidrive/Documents/Blog/Spam Below is the output from running those commands. Transferred: 0 / 0 Byte, -, 0 Byte/s, ETA -Ĩ 18:58:06 DEBUG : 18 go routines thanks for your quick reply. 18:58:06 DEBUG : Documents/Blog: Removing directory 18:58:06 DEBUG : Documents/Blog/Art: Removing directory 18:58:06 DEBUG : Documents/Blog/Blog 2: Removing directory 18:58:06 DEBUG : Documents/Blog/Blog 3: Removing directory 18:58:06 DEBUG : Documents/Blog/Blog 4: Removing directory 18:58:06 DEBUG : Documents/Blog/Blog 5 - Hands Together: Removing directory 18:58:06 DEBUG : Documents/Blog/Blog 5 - Hands Together/Not Used: Removing directory 18:58:06 DEBUG : Documents/Blog/Financial: Removing directory 18:58:06 DEBUG : Documents/Blog/Spam: Removing directory 18:58:06 DEBUG : Documents/Blog/Welcome To Haiti: Removing directory ![]() \rclone.exe rmdirs chrisidrive:chrisidrive/ -P -vvĨ 18:55:58 DEBUG : rclone: Version "v1.56.0" starting with parameters Ĩ 18:55:58 DEBUG : Creating backend with remote "chrisidrive:chrisidrive/"Ĩ 18:55:58 DEBUG : Using config file from "C:\\Program Files\\Rclone\\nf"Ĩ 18:55:58 DEBUG : fs cache: renaming cache item "chrisidrive:chrisidrive/" to be canonical "chrisidrive:chrisidrive" Location_constraint = us-east-1 A log from the command with the -vv flag PS C:\Program Files\Rclone>. The rclone config contents with secrets removed. \rclone.exe rmdirs chrisidrive:chrisidrive/ -P -vv IDrive S3 The command you were trying to run (eg rclone copy /tmp remote:tmp). ![]() Which cloud storage system are you using? (eg Google Drive)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |