Problem with revealing a hidden folder

You should escape the !.

Try:

chflags nohidden \!_TRANSCODE

! is a special character to bash, it is used to refer to previous commands. A more extensive explanation can be found at: What is “-bash: !”: event not found"