Skip to content

Latest commit

 

History

History
96 lines (67 loc) · 2.11 KB

copy.md

File metadata and controls

96 lines (67 loc) · 2.11 KB

Before

export OLDHOME=/Volumes/moon/Users/isuvorov

Google Chrome

rsync -avz $OLDHOME/Library/Application\ Support/Google/Chrome/ ~/Library/Application\ Support/Google/Chrome

P.S. уже бессмысленно

Bash & ZSH

rsync -avz $OLDHOME/.bash ~/.bash
rsync -avz $OLDHOME/.zsh_history ~/.zsh_history
chown -R isuvorov:staff ~/.zsh_history 

zsh directory history

rsync -avz $OLDHOME/.directory_history ~/.directory_history
chown -R isuvorov:staff ~/.directory_history 

SSH

rsync -avz $OLDHOME/.ssh ~/.shh

GPG

rsync -avz $OLDHOME/.gnupg ~/.gnupg
chown -R $(whoami):staff ~/.gnupg/
chmod 600 ~/.gnupg/* 
chmod 700 ~/.gnupg

Sublime

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/

VSCODE

rsync -avz $OLDHOME/Library/Application\ Support/Code/ ~/Library/Application\ Support/Code
rsync -avz $OLDHOME/.vscode/ ~/.vscode

Mongo Compass

rsync -avz $OLDHOME/Library/Application\ Support/MongoDB\ Compass/ ~/Library/Application\ Support/MongoDB\ Compass

Postman

rsync -avz $OLDHOME/Library/Application\ Support/Postman/ ~/Library/Application\ Support/Postman

JetBrains

rsync -avz $OLDHOME/Library/Application\ Support/JetBrains/ ~/Library/Application\ Support/JetBrains

(more info)[https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs]

Node.js projects

rsync -avz --exclude=node_modules --exclude=.git $OLDHOME/projects/some-project/ ~/projects/some-project/