Hello everyone,
so, I wrote this sh in terminal and when I tried to run this code, I couldn't copy files have admin rights to open file and edit in the local drive.
not sure what i'm doing wrong, is there different way to write this code so that I can access all the files that copied from network drive without changing to read/write access manually one by one?
read jamf
sudo chmod 777 /Volumes/$jamf/network/desktop
mkdir ~/desktop/desktop
cp -rv /volumes/$jamf/network/desktop/ ~/desktop/desktop
sudo chmod 777 ~/desktop/desktop
(put "" each line so could read the code better)
any ideas would be helpful to me.
Thank you