How to delete svn files in linux

WBOY
Release: 2021-12-31 14:31:37
Original
4729 people have browsed it

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
Copy after login

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
Copy after login

or

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template