chflags hidden ~/yourfile/
Sorry, I guess I was a little unclear. I'm wondering if there's an actual command that one can type in terminal that will make an application open at startup. For example, the command that hides files isso, something like that.Code:chflags hidden ~/yourfile/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.example.safariopener</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/open</string>
<string>-a</string>
<string>/Applications/Safari.app</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Oh I tried it, and it doesn't work. I think I might be confused about which Library folder to put it in as I have one for the user and one for the system. I tried it for the user (the home folder).