collect script

This commit is contained in:
NatureFreshMilk 2019-08-23 11:44:37 +02:00
parent a93cb77693
commit 992eb51cf6
2 changed files with 12 additions and 0 deletions

1
app/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
textures

11
app/collect_textures.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
test -z "$1" &&{
echo "$0 <dir to search>"
exit 1
}
mkdir -p textures
find $1 -type f | grep -i png$ | xargs -i cp -v {} textures/