source: BOOK/editor-tools/Find-files.sh@ 124823a

Last change on this file since 124823a was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
File size: 386 bytes
RevLine 
[67300de]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
11NAME=`basename $0`
12
13if [ -z "$1" ]; then
14 echo "USAGE: $NAME string"
15 exit
16fi
17
18find . -name "*$1*.xml" | sort
Note: See TracBrowser for help on using the repository browser.