I was used to do a lot of
cat "$FILE" | ipfs files write --create "$DIR""$FILENAME"
this command was in one of my script and I launch this script sometimes in parallel (in several terminals). I might as well cancel some of them with ctrl+c.
I tried to reproduced the same command with a file that failed but I never was able to reproduce the problem this why I start thinking that ctrl+c or maybe the concurrency might be a reason of the failure.
I could open a Issue on github for that and maybe if I keep trying I could reproduce the bug and provide the team with a buggy datastore to investigate but my problem is still the same : now how do I repair a bugged folder ?
If the bugged file is at the mfs root, I have no choice than export all the files out and recreate a whole datastore (several GB…).
If the bugged file is in a folder, I have to move all the file out of this folder (except the buggy one) and
rm the folder itself.