I was moving a bunch of large files from my home directory to an external HDD. Suddenly the GUI crashed and I had no choice but to hard reset the computer. After booting up I found out that almost half of my files haven't been moved to HDD and they are removed from the source directory as well!!! I'm using Kubuntu 18.04 with kernel 4.15.0-23. My question is how is it even possible? Because logically if the kernel was crashed no moving should have been done and if the kernel didn't crash and it moved the files, then what happened to the rest of my files?
I used kde file manager(dolphin) to move the files from a ext4 filesysetm(source) to a ntfs file system(destination)
Is there a way to retrieve the files?
BTW, I'm curious how moving mechanism works in Linux. Is it possible that kernel started to move the files(physical blocks) to the destination and then it tends to update the destination FAT but it crashed and didn't have the chance? So is there a chance that my files are physically placed in the HDD but there are no records in allocation table so I can't see them?