homebrewfilter/mkfilelist

12 lines
166 B
Plaintext
Raw Normal View History

2012-03-04 21:01:11 +01:00
ARC=$1
THM=$(basename $1 .zip)
unp -U $1
cd $THM/
for i in $(ls -1 *.png *.xml); do \
echo "$THM/file:$i" >> temp ; \
cat temp | tr "\n" "+" > filelist ; \
done