With xargs you can joing the output of one command to the input of another when a pipe doesn’t work. Check out this example:
find . -name .svn -print0 | xargs -0 rm -rf
With xargs you can joing the output of one command to the input of another when a pipe doesn’t work. Check out this example:
find . -name .svn -print0 | xargs -0 rm -rf
mkdir ~/Sites/repo_tmp
cd ~/Sites/repo_tmp
git-svn init https://svn.example.com/repo/trunk/ --no-metadata
git config svn.authorsfile ~/Sites/git-users.txt
git-svn fetch
git-svn show-ignore > .gitignore
git add .gitignore
git commit -m "Convert svn ignored files to .gitignore"
cd ~/Sites
git clone repo_tmp repo