source:
editor-tools/Find-files.sh
@
86f7bd3
Last change on this file since 86f7bd3 was bf8c11f, checked in by , 18 years ago | |
---|---|
|
|
File size: 386 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | # This script will find all XML files in the working repository copy |
4 | # that contains the same string in their name. |
5 | |
6 | # To be executed from the top-level directory. |
7 | |
8 | # Useful to find the files related with a same package in all |
9 | # directories and architectures. |
10 | |
11 | NAME=`basename $0` |
12 | |
13 | if [ -z "$1" ]; then |
14 | echo "USAGE: $NAME string" |
15 | exit |
16 | fi |
17 | |
18 | find . -name "*$1*.xml" | sort |
Note: See TracBrowser
for help on using the repository browser.