Site Tools


macos

Differences

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

Link to this comparison view

Next revision
Previous revision
macos [2025/02/17 23:36] – created - external edit 127.0.0.1macos [2025/12/11 00:54] (current) – [Create Symbolic Links] Name
Line 1: Line 1:
 =====MacOS==== =====MacOS====
 +====Purge Snapshots====
 +<code>sudo tmutil listlocalsnapshots /
 +Snapshots for disk /:
 +com.apple.TimeMachine.2025-12-08-192342.local
 +com.apple.TimeMachine.2025-12-08-202601.local
 +com.apple.TimeMachine.2025-12-08-212950.local
 +com.apple.TimeMachine.2025-12-08-223025.local
 +com.apple.TimeMachine.2025-12-08-233034.local</code>
 +<code>sudo tmutil deletelocalsnapshots /
 +Deleted 23 Time Machine local snapshots for disk '/'</code>
  
-  - Install Soundflower +====Install Soundflower==== 
-    - Configure Soundflower +  - Configure Soundflower 
-      - Audio MIDI Setup +    - Audio MIDI Setup 
-        - Add a Multi-Output Device +      - Add a Multi-Output Device 
-          - Add Soundflower (2ch) +        - Add Soundflower (2ch) 
-          - Add HDMI +        - Add HDMI 
-      - Change speakers to Multi-Output Device +    - Change speakers to Multi-Output Device 
-      - Change Quicktime to Soundflower (2ch) as the input +    - Change Quicktime to Soundflower (2ch) as the input 
-  Modify Home and End key behavior +====Modify Home and End key behavior==== 
-    - Open Terminal, don't change to root +  - Open Terminal, don't change to root 
-      - <code>mkdir -p $HOME/Library/KeyBindings+    - <code>mkdir -p $HOME/Library/KeyBindings
 echo '{ echo '{
 /* Remap Home / End keys to be correct */ /* Remap Home / End keys to be correct */
Line 24: Line 34:
 }' > $HOME/Library/KeyBindings/DefaultKeyBinding.dict</code> }' > $HOME/Library/KeyBindings/DefaultKeyBinding.dict</code>
     - No need to reboot     - No need to reboot
 +
 +
 +====Create Symbolic Links====
 +Creating a symbolic links (sym link) makes the operating system, or application, think that the file or folder is in a location is it not.\\ 
 +In this example, I am creating sym link to store my email (Thunderbird) files on an external drive. This frees up internal disk space.
 +  - Backup directory or file to a safe location.
 +  - Copy the directory or file to an external drive.
 +  - Double-check the backup is correct.
 +  - Triple-check the backup is correct, because the next step cannot be undone.
 +  - Delete the original file or directory.
 +  - Empty the Recycle Bin.
 +  - The following example is the exact code I used.
 +    * <code>sudo ln -s /Volumes/4k-ext/tim/Library/Thunderbird/Profiles/bblzz0wg.default-release/ /Users/tim/Library/Thunderbird/Profiles/</code>
 +      * /Volumes/4k-ext is the external drive.
 +      * /Users/tim/Library is the internal drive.
 +  - Test.
 +  - Done.
 +
 +I have successfully done this for Documents, Pictures, Downloads, Music, and many others. For the folders in my /usr/tim directly, I had to create sub-folders. For example, /usr/tim/Documents is now /usr/tim/Documents/Documents. Where, the latter is a sym link that points to the external drive. I chose not to modify anything in my profile hierachy in case my external drive is not available. I also backup my external drive to a NAS. Finally, my external drive is a 2TB NVMe drive connected to a 10 GB/s USB-C port.
 +
macos.1739835394.txt.gz · Last modified: by 127.0.0.1