export OLDHOME=/Volumes/moon/Users/isuvorov
rsync -avz $OLDHOME/Library/Application\ Support/Google/Chrome/ ~/Library/Application\ Support/Google/Chrome
P.S. уже бессмысленно
rsync -avz $OLDHOME/.bash ~/.bash
rsync -avz $OLDHOME/.zsh_history ~/.zsh_history
chown -R isuvorov:staff ~/.zsh_history
rsync -avz $OLDHOME/.directory_history ~/.directory_history
chown -R isuvorov:staff ~/.directory_history
rsync -avz $OLDHOME/.ssh ~/.shh
rsync -avz $OLDHOME/.gnupg ~/.gnupg
chown -R $(whoami):staff ~/.gnupg/
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
Windows - `%APPDATA\Sublime Text`
MacOS - `~/Library/Application Support/Sublime Text`
Linux - `~/.config/sublime-text`
(more info)[https://chromium.googlesource.com/chromium/src/+/69.0.3482.1/docs/sublime_ide.md]
rsync -avz $OLDHOME/Library/Application\ Support/Sublime\ Text\/ ~/Library/Application\ Support/Sublime\ Text/
- Windows -
%APPDATA%\Code and %USERPROFILE%\.vscode
- MacOS -
$HOME/Library/Application Support/Code
and~/.vscode
- Linux -
$HOME/.config/Code
and~/.vscode
(more info)[https://code.visualstudio.com/docs/setup/uninstall]
rsync -avz $OLDHOME/Library/Application\ Support/Code/ ~/Library/Application\ Support/Code
rsync -avz $OLDHOME/.vscode/ ~/.vscode
rsync -avz $OLDHOME/Library/Application\ Support/MongoDB\ Compass/ ~/Library/Application\ Support/MongoDB\ Compass
rsync -avz $OLDHOME/Library/Application\ Support/Postman/ ~/Library/Application\ Support/Postman
rsync -avz $OLDHOME/Library/Application\ Support/JetBrains/ ~/Library/Application\ Support/JetBrains
rsync -avz --exclude=node_modules --exclude=.git $OLDHOME/projects/some-project/ ~/projects/some-project/