How to delete files or directories from encrypted mount

Hi,
I’m unsure how to do the following when the mount point directories & files are encrypted;

gdrive -> cache -> encrypted

rclone lsd
rclone delete
rclone purge
rclone rmdir

I want to remove a directory and contents from the gdrive.

Thanks in advance for any help.

Phil

What did you try?

Those commands should work fine. However you’ll need to stop the mount as you can only have one cache involved at once.

Or just do the operations though the mountpoint using standard ls, rm, rm -rf, rmdir etc.

Hi,
I have tried using rm -r but the mount root directory then becomes unconfigured though still shows as mounted mount command issued.

I haven’t used the rclone delete as didn’t know how.

Hi,
I just updated to the latest beta for OSX as per my other post.

rm -r James * --Errors with rmdir: James Bond Casino Royale: Socket is not connected.

Mount drops out.

The mount dropping out is a bug… Can you make sure you are using latest rclone and latest OSXFUSE. If so then please post any relevant logs from rclone or from the system.

Hi,
I believe the software version are the latest. I’ve check the system log and there are no errors. Below is captions from the command prompt & last entry for “Allo” in the rclone log. Hopefully this helps.

xbmcs-Mac-mini:media xbmc$ rm -rf Allo

rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E04 - Swiftly and with Style.nfo: Socket is not connected
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E04 - Swiftly and with Style.sfv: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel-thumb.jpg: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.avi: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.nfo: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.sfv: Device not configured
rm: fts_read: Device not configured

Last Entry in log for Allo

2018/06/13 19:32:33 DEBUG : /: Attr:
2018/06/13 19:32:33 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : /: ReadDirAll:
2018/06/13 19:32:33 DEBUG : /: >ReadDirAll: item=7, err=
2018/06/13 19:32:33 DEBUG : 'Allo 'Allo!/: Attr:
2018/06/13 19:32:33 DEBUG : 'Allo 'Allo!/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Movies/: Attr:
2018/06/13 19:32:33 DEBUG : Movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Tv/: Attr:
2018/06/13 19:32:33 DEBUG : Tv/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Videos/: Attr:
2018/06/13 19:32:33 DEBUG : Videos/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : fanart.jpg: Attr:
2018/06/13 19:32:33 DEBUG : fanart.jpg: >Attr: a=valid=1s ino=0 size=330702 mode=-rw-rw-r–, err=
2018/06/13 19:32:33 DEBUG : gdrive_start.sh: Attr:
2018/06/13 19:32:33 DEBUG : gdrive_start.sh: >Attr: a=valid=1s ino=0 size=456 mode=-rw-rw-r–, err=
2018/06/13 19:32:33 DEBUG : poster.jpg: Attr:
2018/06/13 19:32:33 DEBUG : poster.jpg: >Attr: a=valid=1s ino=0 size=186376 mode=-rw-rw-r–, err=

Hmm, none of those give me an idea what is going on :frowning:

Can you check these threads

and

And see if you think something similar is happening?