Created
September 25, 2015 12:11
-
-
Save gardnervickers/dddfd447016d03a3edf6 to your computer and use it in GitHub Desktop.
This file contains 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
mv lib lib2 // Moved the symlink | |
cp lib2 ~/jars // copied the jars from lib2 to ~/jars | |
cp -r lib2 ~/jars // recursive copy ^^ | |
cp -r lib2 ~/jars // recursive copy ^^ | |
sudo cp -r lib2 ~/jars // recursive copy ^^ sudo | |
find lib2 -user root -exec cp {} ~/lib/{} \; // copy jars owned by root to ~/lib in my local | |
find lib2/ -user root -exec cp {} ~/lib/{} \; // sudo copy jars owned by root to ~/lib in my local | |
ls lib2 | |
mv lib2 lib // reset lib2 to lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment