Set extension hidden from Command line

true or false makes the file hidden or not
[cc lang=”bash”]sudo osascript -e ‘tell application “Finder” to set extension hidden of alias “Macintosh HD:Applications:Neo.webloc” to true’
[/cc]