1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
$ find . -type d -name build | xargs -n1 svn revert -R
$ svn mkdir -m "Create Branch folder" xxxx/software/branches/Iterations/??
$ svn cp -m "Make ?? Branch(rev: XXX)." xxxx/subversion/software/trunk/xxx xxxx/subversion/software/branches/Iterations/??/
$ find . \( -type d \( -name '.svn' -o -name 'CVS' -o -name '.git' \) -prune \) -o -print
$ find . \( -name '.svn' -prune \) -o -print
$ find . \( -type d -name '.svn' -prune \) -o \( -type f -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( -type d -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( -name "GNUmakefile" -type f -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( -name "*.mk" -type f -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( -name "*.[ch]" -type f -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( \( -name "*.[ch]" -o -name "*.[ch]pp" \) -type f -print \)
$ find . \( -type d -name '.svn' -prune \) -o \( \( -name "*.[ch]" -o -name "*.[ch]pp" \) -type f -print0 \) | xargs -0 -n1 svn status
$ find . \( -type d -name '.svn' -prune \) -o \( -type d -print0 \) |xargs -n1 -0 -iX sh -c 'if [ "$(ls -aC "X")" = ". .. .svn" ];then echo'
$ find . \( -type d -name '.svn' -prune \) -o \( -name "*.rpm" -type f -print \) | xargs -i ksh -c 'rpm2cpio {} | cpio -id'
$ svn st | sed /^?/d | sed 's/M //g' | xargs -I {} zip target.zip {}
function svnadd() { svn st|grep '^?'|awk '{print $2}'|xargs svn add; }
function svndel() { svn st|grep '^!'|awk '{print $2}'|xargs svn del; }
function delsvn() { find ./ -name ".svn" -exec rm -fr {} \;; }
|