This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
playground:playground [2023-07-03 09:58:05] 85.2.23.146 |
playground:playground [2024-11-03 15:41:34] (current) 85.195.225.162 [pepper] |
||
---|---|---|---|
Line 144: | Line 144: | ||
- | ==MAV | ||
- | <code> | ||
- | $ sharing -l | ||
- | List of Share Points | ||
- | name: secr-Etude | ||
- | path: /Users/secretariat/Desktop/ETUDE | ||
- | smb: { | ||
- | name: secr-Etude | ||
- | shared: 1 | ||
- | guest access: 1 | ||
- | read-only: 0 | ||
- | sealed: 0 | ||
- | } | ||
- | name: secr-Public | + | |
- | path: /Users/secretariat/Public | + | |
- | smb: { | + | |
- | name: secr-Public | + | |
- | shared: 1 | + | |
- | guest access: 1 | + | |
- | read-only: 0 | + | |
- | sealed: 0 | + | |
- | } | + | |
- | </code> | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Mac Time Machine | ||
+ | https://superuser.com/questions/1445618/disable-time-machine-on-a-mac-tmutil-disable-doesnt-wor\\ | ||
+ | https://superuser.com/a/1462352 | ||
+ | |||
+ | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
+ | |||
+ | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
+ | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
+ | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
+ | |||
+ | And? https://soundmacguy.wordpress.com/2021/03/03/really-disabling-time-machine-a-multi-pronged-approach/ | ||
+ | |||
+ | sudo defaults write /Library/Preferences/com.apple.TimeMachine.plist DoNotOfferNewDisksForBackup -bool true | ||
+ | gives | ||
+ | defaults read /Library/Preferences/com.apple.TimeMachine.plist | ||
+ | { | ||
+ | AutoBackup = 0; | ||
+ | DoNotOfferNewDisksForBackup = 1; | ||
+ | PreferencesVersion = 5; | ||
+ | } | ||
+ | |||
+ | |||
+ | And/or maybe | ||
+ | |||
+ | touch /Volumes/MY_DISK/.com.apple.timemachine.donotpresent | ||
+ | sudo tmutil disable | ||
+ | |||
+ | ==Mac IP etc. | ||
+ | https://superuser.com/questions/724525/concise-ip-information-in-os-x-terminal | ||
+ | https://stackoverflow.com/questions/60743407/how-do-i-find-out-the-gateway-ip-in-shell | ||
+ | https://apple.stackexchange.com/questions/423127/how-can-i-get-the-local-ip-address-in-macos-to-use-in-a-script | ||
+ | https://apple.stackexchange.com/questions/20547/how-do-i-find-my-ip-address-from-the-command-line | ||
+ | |||
+ | ifconfig -l | xargs -n1 ipconfig getifaddr | ||
+ | |||
+ | route -n get default | ||
+ | |||
+ | ipconfig getifaddr $(route -n get default | awk '$1=="interface:" { print $2 }') | ||
+ | |||
+ | route -n get default | grep -E 'gateway|interface' | ||
+ | |||
+ | |||