Created
October 13, 2013 18:57
-
-
Save xhanin/6965995 to your computer and use it in GitHub Desktop.
diff 2 directories in zsh
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
# suppose you have a set of files in target/base-deps | |
# and want to remove files in target/dependency with the same names | |
for f (target/base-deps/*.jar) {rm $f:s/base-deps/dependency/} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment