./bin/backup-avid-install.sh: grep -E '(\$HOME|~)/bin' .profile
Add windows paths
https://superuser.com/questions/1128634/how-to-access-mounted-network-drive-on-windows-linux-subsystem https://superuser.com/questions/1245210/access-ubuntu-partition-from-windows-sub-system https://dannyda.com/2020/09/11/how-to-access-ext4-3-2-on-windows-10-how-to-mount-ext4-3-2-on-windows-10/ https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/
wsl --mount <DiskPath> wmic diskdrive list brief
wsl --unmount <Diskpath>
Once mounted, it’s also possible to access these disks through the Windows explorer by navigating to \wsl$ and then to the mount folder.
Limitations
By default, wsl --mount attempts to mount the disk as ext4. To specify a filesystem, or for more advanced scenarios, check out Mount a disk in WSL 2.
Also please note that this feature comes with the limitation that only physical disks can be attached to WSL 2. At this time, it’s not possible to attach a single partition. More details on the limitations here.
.fseventsd/ .HFS+ Private Directory Data\x0d/ # ".HFS+ ... Data\r" .Spotlight-V100/ .Trashes/
.DS_Store .com.apple.timemachine.donotpresent
$RECYCLE.BIN\ System Volume Information\
(NOT https://robwomack.com/timecode-calculator ! No 25 FPS!!)
https://download.virtualbox.org/virtualbox/7.0.6/VirtualBox-7.0.6-155176-Win.exe https://download.virtualbox.org/virtualbox/7.0.6/Oracle_VM_VirtualBox_Extension_Pack-7.0.6a-155176.vbox-extpack
(1) 0 - ENTER: DriverPackageInstallW (3) 2148081673 - Failed to calculate strong name from 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.cat'. Check if catalog is valid and if file is in the same directory as the INF. (1) 0 - Successfully removed '{7d2c708d-c202-40ab-b3e8-de21da1dc629}' from reference list of driver store entry '' (1) 0 - RETURN: DriverPackageInstallW (0xE0000304) Stopped logging into separate file Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Version: 6.1.32 (Rev 149290) No previous version of Oracle VM VirtualBox Guest Additions detected Detected OS: Windows XP (32-bit) System Directory: C:\WINDOWS\system32 Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Extract: DIFxAPI.dll... 100% Extract: VBoxDrvInst.exe... 100% Extract: VBoxVideo.inf... 100% Extract: VBoxVideo.cat... 100% Extract: iexplore.ico... 100% Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Stopping VBoxService ... Stopping VBoxService via SCM ... Stopping VBoxService done Stopping VBoxTray ... Stopping VBoxTray done Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Extract: VBoxVideo.sys... 100% Extract: vboxdisp.dll... 100% Extract: VBoxMouse.sys... 100% Extract: VBoxMouse.inf... 100% Extract: vboxmouse.cat... 100% Extract: VBoxGuest.sys... 100% Extract: VBoxGuest.inf... 100% Extract: vboxguest.cat... 100% Extract: VBoxTray.exe... 100% Extract: VBoxControl.exe... 100% Extract: VBoxWHQLFake.exe... 100% Output folder: C:\WINDOWS\system32 Extract: VBoxService.exe... 100% Extract: C:\WINDOWS\system32\drivers\VBoxSF.sys... 100% Extract: C:\WINDOWS\system32\VBoxMRXNP.dll... 100% Extract: C:\WINDOWS\system32\VBoxHook.dll... 100% Installing drivers ... Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Installing guest driver ... Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log" Installing driver ... INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf Using legacy mode for install ... (1) ENTER: DriverPackageInstallW (3) ERROR: 2148081673 - Failed to calculate strong name from 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.cat'. Check if catalog is valid and if file is in the same directory as the INF. (1) Successfully removed '{7d2c708d-c202-40ab-b3e8-de21da1dc629}' from reference list of driver store entry '' (1) RETURN: DriverPackageInstallW (0xE0000304) ERROR (e0000304): Unknown error! Execution returned exit code: 2 Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation
ms-settings:defaultapps SystemPropertiesAdvanced
Get-ExecutionPolicy -List Set-ExecutionPolicy Bypass -Scope CurrentUser -Force Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force Set-ExecutionPolicy Bypass -Scope Process -Force set-executionpolicy remotesigned powershell.exe -noprofile -executionpolicy bypass -file .\script.ps1
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
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'