giovedì 21 aprile 2011

Delete all svn directory quickly in linux

Sometimes I had the need to remove all .svn folders from a project, a friend of mine told me a quick and easy way (if you are so lucky to work on linux).
From mc (Midnight commander)

  • navigate to the root folder of the project 
  • press F9 and choose from the menu bar Command --> Find File 
  • in the File name field enter .svn
  • delete all from the Content field (leave it empty)
  • press ok
  • when the search end select the option Panelize ... all the finded folder will be shown in the classic mc directory panel
  • select all with the insert keyboard button
  • press F8
All the .svn folders will be removed.

I hope this will be useful for some novice linux user like me :-)

Nessun commento:

Posta un commento