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:
bash |copy code |?
1 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:
bash |copy code |?
1 find . -name .svn -print0 | xargs -0 rm -rf
bash |copy code |?
01 mkdir ~/Sites/repo_tmp02 cd ~/Sites/repo_tmp03 git-svn init https://svn.example.com/repo/trunk/ --no-metadata04 git config svn.authorsfile ~/Sites/git-users.txt05 git-svn fetch06 git-svn show-ignore > .gitignore07 git add .gitignore08 git commit -m "Convert svn ignored files to .gitignore"09 cd ~/Sites10 git clone repo_tmp repo