Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-s <partial SDK name>][-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
  2. Help: Open opens files from a shell.
  3. By default, opens each file using the default application for that file.
  4. If the file is in the form of a URL, the file will be opened as a URL.
  5. Options:
  6. -a Opens with the specified application.
  7. -b Opens with the specified application bundle identifier.
  8. -e Opens with TextEdit.
  9. -t Opens with default text editor.
  10. -f Reads input from standard input and opens with TextEdit.
  11. -F --fresh Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
  12. -R, --reveal Selects in the Finder instead of opening.
  13. -W, --wait-apps Blocks until the used applications are closed (even if they were already running).
  14. --args All remaining arguments are passed in argv to the application's main() function instead of opened.
  15. -n, --new Open a new instance of the application even if one is already running.
  16. -j, --hide Launches the app hidden.
  17. -g, --background Does not bring the application to the foreground.
  18. -h, --header Searches header file locations for headers matching the given filenames, and opens them.
  19. -s For -h, the SDK to use; if supplied, only SDKs whose names contain the argument value are searched.
  20. Otherwise the highest versioned SDK in each platform is used.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement