Applicazioni installate dall’App Store
- AudioBookBinder
- Avenue
- Bitwarden
- CotEditor
- CoverSutra
- Kindle Classic
- Mp3tag
- Photo Meta Edit
- Pixelmator Pro
- Sink It for Reddit
- Telegram
- The Unarchiver
- Wipr 2
Applicazioni installate al di fuori dell’App Store
- App Cleaner & Uninstaller
- BetterDisplay
- Calibre
- Cryptomator
- Firefox
- HandBrake
- IINA
- ImageOptim
- inAudible
- KeepingYouAwake
- Latest
- Lyrics Finder
- Maccy
- Maintenance
- Media Converter
- Microsoft Office 2021 con licenza acquistata da Top Key Shop
- Mos
- NetNewsWire
- Parallels Desktop
- Stats
- TeXShop
- TinkerTool
- Transmission
- UninstallPKG
- X Loseless Decoder (XLD)
Piccole modifiche in macOS
Rimuovere le anteprime ai link da Mail
Mail > Impostazioni > Scrittura togliere la spunta in “Aggiungi anteprima link”
Rimuovere le anteprime degli allegati di Mail
defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes
Evitare la finestra apri documento all’avvio di QuickTime e TextEdit
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
defaults write com.apple.QuickTimePlayerX NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
Utilizzare CotEditor da linea di comando
ln -s /Applications/CotEditor.app/Contents/SharedSupport/bin/cot /usr/local/bin/cot
Tema One Dark per il Terminale di macOS
vim ~/.$HOME/.zshrc
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Aggiungere la variabile PATH
di Homebrew a ~/.zszhrc
:
uname -m | grep arm64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc && source ~/.zshrc
Disabilitare Homebrew Analytics Data:
brew analytics off
Aggiornare tutti i pacchetti:
vim $HOME/.zshrc
alias brewup='brew update && brew upgrade && brew update --cask && brew upgrade --cask $(brew outdated) --cask && brew cleanup && brew autoremove && brew doctor'
Abilitare il menu contestuale “Apri pagina man” nel Terminale di macOS:
sudo mkdir -p /usr/local/etc/man.d
echo "MANPATH /opt/homebrew/share/man" | sudo tee -a /usr/local/etc/man.d/homebrew.man.conf
Caratteri extra
brew install --cask font-eb-garamond font-fira-code font-inconsolata
Plugin per Quick Look
brew install --cask qlmarkdown qlvideo quicklook-csv
MacTex
brew install --cask mactex-no-gui
Aggiornare tutti i pacchetti con Tex Live Manager:
vim $HOME/.zshrc
alias texup='sudo tlmgr update --self && sudo tlmgr update --all'
Pandoc
brew install pandoc
thefuck
brew install thefuck
.zshrc
eval $(thefuck --alias)
# You can use whatever you want as an alias, like for Mondays:
eval $(thefuck --alias FUCK)
tldr
brew install tlrc
duf
brew install duf
speedtest-cli
brew install speedtest-cli
rsync
brew install rsync
yt-dlp
brew install yt-dlp/taps/yt-dlp
brew install atomicparsley ffmpeg
vim $HOME/.config/yt-dlp/config
--no-mtime
--embed-metadata
--embed-thumbnail
--yes-playlist
-o $HOME/Downloads/%(title)s.%(ext)s
-f 'bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv*+ba/b'
vim $HOME/.config/yt-dlp/config_audioonly
--no-mtime
--embed-metadata
--embed-thumbnail
--yes-playlist
-o ~/Downloads/%(title)s.%(ext)s
-f 'ba[ext=m4a]/b[ext=mp4]'
vim $HOME/.zshrc
# yt-dlp
function yt-video() {
url="$@"
videoid="$(echo "$url" | grep -oE 'v=.{11}' | cut -d "=" -f 2)"
yt-dlp $videoid
}
alias ytv='noglob yt-video'
function yt-audio() {
url="$@"
videoid="$(echo "$url" | grep -oE 'v=.{11}' | cut -d "=" -f 2)"
yt-dlp -x --config-location $HOME/.config/yt-dlp/config_audioonly $videoid
}
alias yta='noglob yt-audio'
Wget
brew install wget
tere
brew install tere
vim $HOME/.zshrc
tere() {
local result=$(command tere "$@")
[ -n "$result" ] && cd -- "$result"
}
Trash
brew install trash
vim $HOME/.zshrc
alias rm='echo "This is not the command you are looking for. Use \e[1;32mtrash\e[0m instead."; false'
ImageMagick
brew install imagemagick
ExifTool
brew install exiftool
Lista di comandi utili
Modificare la data di tutti scatti contenuti in una cartella:
exiftool -AllDates="YYYY:MM:DD HH:MM:SS" <FOLDER> -overwrite_original -r
Aumentare in modo incrementale di 10 secondi l’ora di scatto su di una sequenza ordinata di scatti contenuti in una cartella:
exiftool '-AllDates+<0:0:${filesequence}0' <FOLDER> -fileOrder FileName -overwrite_original -r
Come sopra, ma con incremento di 5 secondi:
exiftool '-AllDates+<0:0:${filesequence;$_*=5}' <FOLDER> -fileOrder FileName -overwrite_original -r
Esportare in un file CSV le informazioni di tutti scatti contenuti in una cartella:
exiftool -AllDates -csv <FOLDER> > out.csv