Home  >  Article  >  Operation and Maintenance  >  How to delete svn files in linux

How to delete svn files in linux

WBOY
WBOYOriginal
2021-12-31 14:31:374727browse

Method: 1. Use the "find.-type d -name ".svn"|xargs rm -rf" command to delete the specified svn file; 2. Use the "find.-type d -iname ".svn" -exec rm -rf{}\" command deletes the specified svn file.

How to delete svn files in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to delete svn files in Linux

Use Xshell to connect to the linux server

Enter the command to enter the directory where you want to delete SVN. For example:

cd /www/web/ziyiai/public_html

Enter the following command to delete the .svn directory in this directory, which means clearing the SVN information

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

or

find . -type d -iname ".svn" -exec rm -rf {} \;

Related recommendations: "Linux Video Tutorial

The above is the detailed content of How to delete svn files in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn