I can't use regular
rm command on a rclone mount, because there are files starting with a question mark as you'll notice below. For unknow reasons to me, there are some files starting with a question mark. All of them cannot be deleted. Those files are the result of the following options:
--backup-dir—I kept those files for a while, then delete them manually.
However, those files can be deleted via rclone GUI, but the rclone GUI does not offer a mean to bulk delete all these problematic files. Indeed, I've got hundreds of them I'd like to delete.
$ rclone version
- os/type: darwin
- os/arch: amd64
- go/version: go1.16.3
- go/linking: dynamic
- go/tags: cmount
MacOS Mojave 10.14.6
[Safe] type = crypt …
This is the commad I use to backup:
rclone -v --log-file=/tmp/rclone.log --filter-from /usr/local/etc/rclone/filter_mbp.txt sync ~ Safe:/MBP/ --backup-dir Safe:/OLD/MBP/$date
Later, I'll issue:
$ rclone mount --daemon Safe: /usr/local/mnt/rclone > /dev/null 2>&1 /usr/local/mnt/rclone/OLD/MBP/2020-08-09•16:03:30/Captures $ llh gls: cannot access 'Capture d’écran 2020-08-07 à 15.01.17.png': No such file or directory total 0 -????????? ? ? ? ? ? 'Capture d’écran 2020-08-07 à 15.01.17.png' /usr/local/mnt/rclone/OLD/MBP/2020-08-09•16:03:30/Captures $ rm Capture\ d’écran\ 2020-08-07\ à\ 15.01.17.png grm: cannot remove 'Capture d’écran 2020-08-07 à 15.01.17.png': No such file or directory
The reason I like to use regular
rm command is because I can see what am I deleting…
[Safe] type = crypt remote = [VPS]:/home/[USER]/RESCUE filename_encryption = standard password = password2 = directory_name_encryption = true [Snel] type = sftp host = [IP ADDRESS] user = [USER] port = [PORT] key_use_agent = true md5sum_command = md5sum sha1sum_command = sha1sum
The issue is I can't use the
rm command, because rclone seems to prefix files with a question mark when moved using
--backup-dir Safe:/OLD/MBP/$date option.