I know this is pretty much a newbie question, but I'm stumped. I moved a bunch of files and folders from and external drive to my internal RAID, but one folder and one file remain (although the same file appears on the target). A mv <source> <target>
throws the following error:
mv: cannot stat 'filename.ext': No such file or directory
I have tried using sudo
, chmod
(to make it universally rwx), chown
(to make sure ownership was set), rm -f
, rmdir
on the parent directory, and even using ssh to connect externally and trying a remove. No matter what I try, I keep getting the "can't stat" message.
I'm going to unmount the external drive and remount it (that's worked in the past for some "ghost" items), but I'm curious about this.