Unable to permanently delete files from Onedrive

What is the problem you are having with rclone?

I am trying to delete directories in Onedrive.

I tried both of these commands.

rclone purge onedrive:/Uploads/ --config=/rclone.conf --drive-use-trash=false
rclone delete onedrive:/Uploads/ --config=/rclone.conf --drive-use-trash=false

But, It is moving all the directories / files to the Recycle Bin, instead of deleting the directories permanently.

Run the command 'rclone version' and share the full output of the command.

# rclone version
rclone v1.61.0
- os/version: debian 10.8 (64 bit)
- os/kernel: 4.19.0-14-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone purge onedrive:/Uploads/ --config=/rclone.conf --drive-use-trash=false

The rclone config contents with secrets removed.

type = onedrive
token = {"access_token":"REDACTED","token_type":"Bearer","refresh_token":"REDACTED","expiry":"2022-12-23T17:51:58.572928911+01:00"}
drive_id = b!StgaS_UGU0639HN_C4chIxADzZeS50hJt7Y6G06gPXv9PWi5cjuYQYOQwdE23WgJ
drive_type = business

A log from the command with the -vv flag


That flag is for Google Drive.

See the docs:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.