Is there a tool like chkdsk to check and repair errors on FAT32 formatted USB flash? After several power losses, it seems the file system is not ok. Files are visible in OSMC but under Windows the flash looks unformatted and cannot repair it there.
fsck.vfat -r /dev/sd*1 repairs interactivity
fsck.vfat -a /dev/sd*1 auto repairs with no interaction.
Replace * with the corret drive letter, for example b; so the full path would be /dev/sdb1