Hide folders from Finder
Very simple.
chflags hidden [folder location]
Manual says…
The chflags utility modifies the file flags of the listed files as specified by the flags operand.
Option hidden: hidden set the hidden flag [Hide item from GUI]
There you have it.