Rm a file by mistake


I removed a file (video) in mnt/sda1 is it possible to recover it?

yes possible but not guaranteed. assume it is an external drive (e.g. usb stick) you are referring to, so best to unmount it gracefully, attach to full linux machine, do a full disk copy backup then try to recover files. you can search for linux recovery tools, there are plenty, pick the one you like the best.


(@grrr2 covered it..here's a draft messaged I forgot to post:)

Is it a HDD, possibly.

I would immediately turn off the drive and not use it until you're ready to attempt recovery.

  • Unrelated to OpenWrt though
  • If the video is valuable, I would consider professional disk recovery services
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.