Some of the "Actions" may not be available in older versions.
![mac copy path to file mac copy path to file](https://imgix-blog.setapp.com/automator-shortcut-copy-file-path-name.png)
Automator has been a part of OS X since the first release of OS X.
![mac copy path to file mac copy path to file](https://www.howtogeek.com/wp-content/uploads/2021/03/Finder-in-macOS-Big-Sur-Hero.png)
Have you considered using Automator? Based on my understanding of what you are trying to accomplish, Automator on 10.8 would meet your needs. If users are not admins, you will have to execute the script as an admin.īe very careful of (ie: just do NOT) wrap any passwords in a script - eg, an AppleScript but that will greatly complicate things for you with the additional modifications that can be needed when using "do shell script" within AppleScript.Īre you using Papercut as noted in the script ? Nothing there interacts with Papercut. If you need the client(s) to pull the driver, use ftp (man ftp) or curl which should be on all your OS X machines by default.Ĭurl -o "/Library/Printers/PPDs/Contents/Resources/Sharp_DX-B450P.PPD" The standard way of doing this would be via Apple Remote Desktop (but remote clients would need to have a VPN connection to your central office/location) or ssh, or your existing distribution software - Absolute Manage, Casper, Dell/Kace - all paid or the free and widely used munki: One other issue is that I have seen a few users previously that are not admin users on their own MAC, can these users even copy the file into the root library folder. I guess my question is that in the script included below, how would I copy the ppd file from either a Windows share, FTP or HTTP site and store it locally in the ppd location on the users mac computer. I have considered doing the copy from an FTP or HTTP site to the users ppd location, but from what I have seen, the code to do this changes from 10.5 to every version up to 10.8 on the OSX. The issue I am having is that I need to be able to copy from a Windows Server share location without making a map to the Windows Server share.
![mac copy path to file mac copy path to file](https://www.igeeksblog.com/wp-content/uploads/2021/03/Open-the-Get-info-window-of-the-file-on-Mac.jpg)
I need to be able to get this ppd file to the "/Library/Printers/PPDs/Contents/Resources/" location.
#Mac copy path to file driver#
We are purchasing a model of printer from Sharp (DX B450P) and the driver does not come with an installer like all of their other MFP devices, just a.
#Mac copy path to file install#
I am currently trying to get a script that will install printers on users BYOD Mac computers.