Last active
August 29, 2015 14:00
-
-
Save kknd22/11154262 to your computer and use it in GitHub Desktop.
gitbash backup preserve original directory back up
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
#!/bin/sh | |
# daily backup for gradle in gradle project | |
cd C:/x/y/z | |
find . -name "build.gradle" -print0 2>/dev/null | xargs -0 --replace cp -P {} C:/a/b/c/d/gradle-dayily-back |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment