15 lines
287 B
Bash
15 lines
287 B
Bash
#!/bin/bash
|
|
echo "Running Post-Merge"
|
|
dirs=$(find -type d -iname "*.pptx")
|
|
for d in $dirs
|
|
do
|
|
echo "creating Powerpoint for $d"
|
|
cd $d
|
|
foldername="$(basename $d)"
|
|
echo "foldername=$foldername"
|
|
filename="${foldername:1}"
|
|
echo "filename=$filename"
|
|
|
|
zip -r ../$filename *
|
|
cd ..
|
|
done
|