i already did this and when i do this in the output folder i get a .dat file when i put it con bitcoinCore my btc disappear can you tell me why? , obviously, i made a backup before i run the command !
Before attempting to use pywallet... did you try loading your wallet.dat using the
-salvagewallet option in Bitcoin Core?

Again, make sure you have made copies of the
original wallet.dat file... and work on a
copy of the wallet.dat... not the original file!