Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Delete svn folders and files

Answer:

After checkout from the svn repository using the svn checkout command , if you want to remove the svn related files/folders, use the following command under the working directory

find ./ -name ".svn" | xargs rm -rf

On the other hand, you should use svn export, instead of svn checkout if you don't want the svn related files/folders at the beginning.

  1. Delete files older than x days in Linux?
  2. Delete files permanently with shred command
  3. How to delete a folder in Linux recursively?
  4. How to deny access for Subversion (svn) related files in Apache?
  5. How to resolve the ‘/bin/rm: Argument list too long’ error

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>