#!binshsudo unzip LibraryApplication SupportLANDesksdcacheTest3zip -d LibraryApplication SupportLANDesksdcacheecho 1234 sudo LibraryApplication SupportLANDesksdcacheVenturaappContentsResourcesstartos
This shell script unzips a file named "Test3.zip" located in "/Library/Application Support/LANDesk/sdcache/" directory. It then runs the startosinstall command with some options using the sudo command. After that, it removes the extracted files and the zip file.
原文地址: https://www.cveoy.top/t/topic/hBjQ 著作权归作者所有。请勿转载和采集!