kknd22
4/21/2014 - 7:50 PM

gitbash backup preserve original directory back up

gitbash backup preserve original directory back up

#!/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