source: subversion/applications/share/map-icons/copy_icons_to_dir.sh @ 3907

Last change on this file since 3907 was 3907, checked in by joerg, 13 years ago

make the revision change automagically

  • Property svn:executable set to *
File size: 474 bytes
Line 
1#!/bin/sh
2
3dst=$1
4
5if [ ! -n "$dst" ] ; then
6    echo "Please specify a destination directory"
7    echo "Usage:"
8    echo "     $0 <destination-dir>"
9    exit -1
10fi
11
12mkdir -p $dst
13for dir in square.big square.small classic.big classic.small svg svg_tn jp jp_tn ; do \
14    find  $dir -type d | grep -v '\.svn' | \
15    while read nd ; do 
16        mkdir -p $dst/$nd 
17    done 
18    find $dir -name "*.svg" -o -name "*.png" | \
19    while read fn ; do 
20        cp $fn $dst/$fn
21    done 
22done
23
Note: See TracBrowser for help on using the repository browser.