Deleted an SMB directory by mistake 🫥 I hit cancel, but could parts have gone?

Any Dolphin developers around?

By mistake I pressed delete on a very important multi TB directory in this share in Dolphin. Dolphin said something like “moving to trash” and I pressed Cancel or Abort (or whatever the button says) within seconds.

The directory I pressed delete for is still there, but I really want to make sure nothing disappeared in the subdirectories of that directory.

So, I want to know how this functions. Could Dolphin have started to move files or subdirectories to Trash before it would have deleting the “root” dir I pressed delete for? And if so, where is this trash located? Or, did nothing happen as the directory I pressed delete on is still there? Hoping for the latter.

I have the share mounted at /var/home/username/mnt/sharename/ and it’s mounted with rclone and systemd unit files. When I check properties for a dir within this mounted share in Dolphin and it says “File System: fuse.rclone” in the General tab.

And yeah:

Operating System: Aurora 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.10-200.fc41.x86_64 (64-bit)
Graphics Platform: X11

Will now enable some confirmations… :grimacing:

Hi - not a developer, but if files were moved to a trash folder, they should be in either your home directory’s trash (~/.local/share/Trash/), or in a device-specific trash at /path/to/device/.Trash-1000/

And either way, the easiest way to be totally sure might just be to rsync from the backup for that directory to where it’s mounted now.

Thanks! Would still love to hear a developer chime in explaining what happens when you abort a move to trash.

If only things were that easy. I was supposed to make do with a ZFS mirror for a few days… And yeah. Stupid. RAID is not a backup, I know…

2 Likes