Score:0

Files from external device was deleted after copying

es flag

I have connected external HDD to my Linux machine via USB. Then, I copied directory A with files from machine to the external device folder B containing folder C. When copying successfuly finished device was disconnected via interface button and powered off. After that, I am trying to enable external device and see there neither folder A nor C at all. What happened? How to get it fixed for the future?

Ubuntu 22.04 LTS Copied by copying and pasting from context menu mouse click in explorer.

us flag
`When copying successfuly finished device was disconnected via interface button` I don't know what it means. Did you use the eject button in the file manager?
Alexey Lot avatar
es flag
Yes, it was ejected.
oldfred avatar
cn flag
What format is external drive's partition you copies to? If NTFS, did you use drive with Windows? How exactly did you copy?
Alexey Lot avatar
es flag
It was formatted into NTFS with Windows previously.
guiverc avatar
cn flag
You've provided no OS/release details; nor clues as to what method/command you used to copy (*or if it was a move*), nor mention any specifics as to file-systems involved. Are we to guess? Please add/correct details in your question, as that is what is answered (*this is a Q&A site & not a forum*). Comments are for people asking you questions, once dealt with in the question, the comments will be removed.
pzkpfw avatar
us flag
If you ejected the disk prematurely causing some copies to fail, it wouldn't explain why **everything** is missing from your external drive. It sounds like perhaps the copy failed silently and never happened in the first place. If you have enough disk space, and this external HDD is only supposed to be used with Linux, I would copy everything to your Linux machine, re-format the external disk as EXT4 and try copying it all over again.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.