I have a volume in AFS format, in which the encodings are quite messed up. ASCII, Latin-1, ISO-8859-1 and UTF-8 all co-exist and it is more or less arbitrary which format is used. Some files are saved in one encoding, and other files in the same directory are in another, etc...
Is there any clean way in which I can convert the entire tree, starting at a specified root folder and walking recursively, to UTF-8?
The tree is very large, making a manual inspect-and-act solution impossible; I have to do this with a recursive scripting solution.
I'm connecting to the file system over ssh, if that matters.