feat manage script
This commit is contained in:
10
scripts/macos-brew_backup.sh
Executable file
10
scripts/macos-brew_backup.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
BACKUP_FILE="$HOME/.dotfiles/config/envs/macos/homebrew/Brewfile"
|
||||
|
||||
echo "Backing up Homebrew installations..."
|
||||
mkdir -p "$(dirname "$BACKUP_FILE")"
|
||||
|
||||
brew bundle dump --file="$BACKUP_FILE" --force
|
||||
|
||||
echo "Backup saved to $BACKUP_FILE"
|
||||
Reference in New Issue
Block a user