I downloaded a short video, then wrote:
sudo mv /home/myname/Downloads/m.mp4 /dev/sdb1
the video disappeared completely. It's not in the USB drive. I searched for it by writing:
find / m.mp4
find m.mp4
But it's nowhere to be found.I keep getting
find: ‘m.mp4’: No such file or directory
The USB is mounted and accessible. The video is no longer in Downloads.
Sudodus, thank you. I still don't get it fully but I understand I should've used the mount point. I used it and it worked, like magic. Nothing was erased from the USB, so I am not sure why you apologized. How would you know what the mount point is? I found it in Gparted. And what does this mean, from Gparted:
init :: non DOS media
Cannot initialize '::'
mlabel: Cannot initialize drive
init :: non DOS media
Cannot initialize '::'
The output when I wrote sudo ls -l /dev/sdb1
is
-rw-rw-r-- 1 moe moe 23362068 Jul 2 15:44 /dev/sdb1
/dev/sdb1
should bemount
ed, not treated as a way to put files on the device. However Ubuntu and most other distros will mount things for you automatically, e.g. at/media/<username>/xyz
– Artelius Jul 02 '20 at 22:56find / -iname 'm.mp4'
. Also usingfile /dev/sdb1
would show that it is a MP4 file, not a special device. – CSM Jul 04 '20 at 17:02