How can I achieve the equivalent of setfile -type 'sbDB' ~/myfile on OS X 10.7, which no longer seems to support the setfile command?
I happen to know that the equivalent of setfile -a V ~/myfile is now chflags hidden ~/myfile. But how do I do I set a custom type like for instance sbDB - when I try chflags sbDB ~/myfile it says "invalid flag".

touch) there is no output, but Finder shows the file as a 'Sidebar DropBox folder icon" which makes me think that setfile is working on Lion (10.7.1) for me. – TJ Luoma Sep 28 '11 at 4:18-bash: setfile: command not found– Milosz Wielondek Sep 29 '11 at 19:04