pixelhandler

Pushin' & pullin' pixels on the net

Clean Up Directories Prior to Initializing Repository

Use command line to clean up directories prior to initializing repository :
  • remove junk like .DS_Store or clean out repositories like folders named CVS .svn .git
  • -type d for directories f for files
find . -name '.svn' -type d | xargs echo

find . -name '.svn' -type d | xargs rm -rf

find . -name '.git' -exec rm -rf {} ;

find . -name '.DS_Store' -type f | xargs rm -rf

Comments