Delete SVN files in Linux
I use SVN kind of a lot, and when I need to pack the files to distribute them is not nice to leave the SVN files..Here a really simple way of deleting those anoying files:
find . -name '.svn' -type d | xargs rm -rf
This searches for all directories which have svn related files. This is a useful command, but might not work as expected if there are hundreds of thousands files on the server. In this case the following command may be useful:
find . -name .svn -prune -exec rm -rf {} \;
Source devarticles.in
Related Posts- LAMP + SVN in Ubuntu
- How to install KDE 4.3 in Ubuntu Jaunty
- Do it easy - Transfer your MySql and Files
- Include Javascript file inside another
- Delete recursive files in PHP
- Top Best 100 Incredibly Useful & Free Mac Apps
- Affiliate Article Marketing Strategy - How Do Affiliate Make Money With Article Marketing?
- Five Things to Know Before Switching to Linux
- What Are Unlocked Cell Phones?
- Faberge Egg
Help sharing and Flatter me ;)
