bitcoind – How to remove .dat files? The command & # 39; rm & # 39; fails with "incorrect message"

rm: can not delete / home /[user]/btc/bitcoin-core/blocks/blk01253.dat: Incorrect message

The same error message when I tried to run bitcoind -reindex


  • OS: Ubuntu

  • Bitcoind version: 0.18

External hard drive

I've already tried to sudo rm -rf the entire block directory, but I get this "Bad message" error on some .dat files.