Last active
July 10, 2019 11:13
-
-
Save Trip09/1a88942db755116192aaf7556c9d3753 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# COPY BACK | |
for i in `find . -maxdepth 1 -iname '.*' -type f -not -path "./.git" `; do if [ -f ~/$i ]&& [ "$(/usr/bin/diff $i ~/$i)" ]; then true; else echo "SKIP FILE: $i" && continue; fi && echo "\*** COPY FILE: $i ***" && cp ~/$i $i;done | |
for i in ~/.aws ~/.crossftp ~/.docker ~/.gnupg ~/.ssh ~/.vim "/etc/NetworkManager/system-connections/" ; do sudo cp -R $i . ;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment