I would like to do something like this:
svn revert --recursive mydata/*/*.txt
and I want it to revert all files which have extension *.txt in the directory mydata. Is there a way to do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On a POSIX-compatible OS (Linux/Mac/Cygwin):
On Windows (use %%G in a batch file, %G on the command line):
Strictly speaking, the Windows command will affect
mydata/*.txt,mydata/*/*.txt,mydata/*/*/*.txt, and so on, so maybe it’s not exactly what you’re looking for… but maybe it’s enough to get you there.