Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从命令行(即终端)播放 Quicktime 电影 (.mov) 文件?
我还没有找到实现这一目标的方法。我可以使用 Automator 脚本来完成,但如果我可以直接从终端运行它会更好。
open movie_file_name.mov
将从终端打开默认播放器。
open -a "quicktime player" movie_file_name.mov
如果需要,您可以指定其他播放器,例如 VLC:
open -a vlc movie_file_name.mov