1

I found this on the registration, but where and how to put this into:

#!/bin/sh

# Determine OS version
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
sw_vers=$(sw_vers -productVersion)

# Checks first to see if the Mac is running 10.7.0 or higher. 
# If so, the script checks the system default user template
# for the presence of the Library/Preferences directory.
#
# If the directory is not found, it is created and then the
# iCloud pop-up settings are set to be disabled.

if [[ ${osvers} -ge 7 ]]; then

 for USER_TEMPLATE in "/System/Library/User Template"/*
  do
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
    defaults write "${USER_TEMPLATE}"/Library/Preferences/com.apple.SetupAssistant LastSeenCloudProductVersion "${sw_vers}"
  done

 # Checks first to see if the Mac is running 10.7.0 or higher.
 # If so, the script checks the existing user folders in /Users
 # for the presence of the Library/Preferences directory.
 #
 # If the directory is not found, it is created and then the
 # iCloud pop-up settings are set to be disabled.

 for USER_HOME in /Users/*
  do
    USER_UID=`basename "${USER_HOME}"`
    if [ ! "${USER_UID}" = "Shared" ] 
    then 
      if [ ! -d "${USER_HOME}"/Library/Preferences ]
      then
        mkdir -p "${USER_HOME}"/Library/Preferences
        chown "${USER_UID}" "${USER_HOME}"/Library
        chown "${USER_UID}" "${USER_HOME}"/Library/Preferences
      fi
      if [ -d "${USER_HOME}"/Library/Preferences ]
      then
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant GestureMovieSeen none
        defaults write "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant LastSeenCloudProductVersion "${sw_vers}"
        chown "${USER_UID}" "${USER_HOME}"/Library/Preferences/com.apple.SetupAssistant.plist
      fi
    fi
  done
fi

Also I found this, but I copied that in my terminal and nothing happened. What do I need to do excatly?

this is a terminal alias/command I use that prevents any Adobe stuff running in the background:

alias nothankyouadobe="sudo -H killall ACCFinderSync \"Core Sync\" AdobeCRDaemon \"Adobe Creative\" AdobeIPCBroker node \"Adobe Desktop Service\" \"Adobe Crash Reporter\";sudo -H rm -rf \"/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist\" \"/Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist\" \"/Library/LaunchDaemons/com.adobe.*.plist\""

If you put that in your ~/.bash_profile you can then simply type nothankyouadobe or call that from Alfred or any other sort of script.

1

Do NOT execute unknown scripts or executables.

What you got is a script. But in this case, it doesn't seem helpful for any Adobe process, so jump to alias section.

#!/bin/sh

indicates that is uses sh to process the upcoming commands. You should:

  • Open TextEdit.app, paste the script there.
  • Save it as AdobeScript.sh. Notice the .sh extension. Name can be anything.
  • Open terminal, type sh, space & the path to the script, in double quotes.

    sh "/Users/yourUserName/Desktop/AdobeScript.sh"
    

    And hit enter. It will execute.

As for the alias, see these answers to see how they work:

The alias is equivalent to executing these commands individually. So you can also use Activity Monitor to kill the processes & go to the filepaths to delete the files/folders manually.

sudo -H killall ACCFinderSync
sudo -H killall \"Core Sync\"
sudo -H killall AdobeCRDaemon
sudo -H killall \"Adobe Creative\"
sudo -H killall AdobeIPCBroker node
sudo -H killall \"Adobe Desktop Service\"
sudo -H killall \"Adobe Crash Reporter\"

sudo -H rm -rf "/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist"
sudo -H rm -rf "/Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist"
sudo -H rm -rf "/Library/LaunchDaemons/com.adobe.*.plist"
| improve this answer | |
  • Hi Ankii! Thanks. Did you know what scrip is doing, I mean is that the right one, for the purpose. I don't understand this language. – marcelllolluke May 27 at 15:13
  • I tried. But it says: No such file or directory ( Terminal). I past the script in a text called it AdobeScript.sh (It saved as RTF) and then opened Terminal. – marcelllolluke May 27 at 15:16
  • oke. I exchanged "you" to my name. Now it says: Permission denied – marcelllolluke May 27 at 15:20
  • @marcelllolluke make sure the extension is .sh nothing else after it. also, you shouldn't execute scripts you don't know. also, see updated answer – anki May 27 at 15:24
  • Had look at the Alias solution, but I have no idea how to apply this for the adobe. I am bloody beginner if comes to all this here. – marcelllolluke May 27 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .