What is the problem you are having with rclone?
rclone rc --loopback operations/deletefile fs=<my cloud provider>: remote=/x1/tarball/<myFileName>
does not delete the file (when that file exists); also, it produces this text output: {}
(sic!). The command returns true
. (I am using Bash, on Linux.) See below for a thickening of the plot.
What is your rclone version (output from rclone version
)
rclone v1.57.0
os/version: linuxmint 20.2 (64 bit)
os/kernel: 5.11.0-40-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.17.2
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
b2.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone rc --loopback operations/deletefile fs=<my cloud provider>: remote=/x1/tarball/<myFileName>
The rclone config contents with secrets removed.
[b2]
type = b2
account = [. .]
key = [. .]
hard_delete = true
[enc-b2]
type = crypt
remote = b2:x1-everything
filename_encryption = standard
password = [. .]
password2 = [. .]
A log from the command with the -vv
flag
2021/11/28 23:57:13 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "rc" "--loopback" "operations/deletefile" "fs=enc-b2:" "remote=/x1/tarball/ball.tar"]
2021/11/28 23:57:13 DEBUG : Creating backend with remote "enc-b2:"
2021/11/28 23:57:13 DEBUG : Using config file from "/home/nicholas/.config/rclone/rclone.conf"
2021/11/28 23:57:13 DEBUG : Creating backend with remote "b2:x1-everything"
2021/11/28 23:57:14 DEBUG : Couldn't decode error response: EOF
2021/11/28 23:57:14 DEBUG : 6 go routines active
2021/11/28 23:57:14 Failed to rc: loopback call failed: object not found
But: the output above is from a later time than the output - from the version of the command lacking the -vv
flags - that I posted further above. I suspect the following. For a period - of very approximately ten minutes? - a deleted file enters a kind of netherworld, half way between being deleted and being extant. This may well be a b2 problem - but perhaps rclone could work around it.