I have a number of media files backed up from an old phone to a hard drive. I was trying to copy all my backups to another drive. I encountered a contradictory message like "Could not copy file [...] No such file or directory". I took a note of the location and let the job finish.
I then went back and had a look with ls
. The output suggests that 2 files are there and yet don't exist at the same time. I can see the files are missing an extension:
Attempting to copy the files via the command line gives message "No such file or directory". These are all audio files but attempting to open them via the command line with vlc yields "cannot open file [...] (No such file or directory)"
I'm reluctant to try to rename the files to add an extension without making copies first but I can't do that. I'm looking for suggestions to recover what is there or to help me interpret all those question marks in the output of ls -la
OS is Ubuntu Mate 20.04
ls -la
outputfsck
yet, this drive is my main backup and I'm reluctant to do so before copying the data elsewhere.