User Tools

Site Tools


code:terminalcmds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:terminalcmds [2020/11/26 09:37] michfielcode:terminalcmds [2023/04/26 12:16] (current) michfiel
Line 35: Line 35:
  
   date 0318125013   date 0318125013
 +  
 +Purge cached user preferences:
 +
 +  killall -u $USER cfprefsd
 +  
 +Unlock folder and all files therein:  
 +
 +  chflags -R nouchg /PATH/TO/DIRECTORY/WITH/LOCKED/FILES/
 +
 +
 +Enable Screen Sharing
 +  sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
 +  sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
 +
 +Remove all files from git cache
 +  git rm -r --cached .
 +  git add .
 +  git commit -m ".gitignore is now working"
 +
code/terminalcmds.1606379862.txt.gz · Last modified: 2020/11/26 09:37 by michfiel