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

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

rename jp to japan

  • Property svn:executable set to *
File size: 546 bytes
RevLine 
[3907]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
[4193]13for dir in square.big square.small classic.big classic.small svg svg_tn japan japan_tn ; do \
[4161]14    # Create directories
[4186]15    find  $dir -type d | grep -v '/\.svn' | \
[3907]16    while read nd ; do 
17        mkdir -p $dst/$nd 
18    done 
[3922]19
[4161]20    # Copy Files
21    find $dir -name "*.svg" -o -name "*.png" | grep -v "/.svn/" | \
[3907]22    while read fn ; do 
[3947]23        cp -p $fn $dst/$fn
[3907]24    done 
25done
26
Note: See TracBrowser for help on using the repository browser.