How to hide/show a specific icon on Mac OS X Desktop
The Terminal command chflags can be used to hide and unhide files:

    chflags hidden /path/to/file.ext


or

    chflags nohidden /path/to/file.ext


You can create a simple alias called hideicon that invokes chflags hidden, and similarly for showicon to invoke the opposite command:

    alias hideicon='chflags hidden'


and

    alias showicon='chflags nohidden'


Add these to your ~/.bashrc file, and they'll load with each new instance of your shell.