You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
206 B

for i in $(diff -rq /tmp/a/ /tmp/b/ | grep Only | awk '{print $NF}')
do
mv /tmp/b/$i /tmp/IOTContainer/
done
cd /tmp/IOTContainer/
zip_name=$DRONE_REPO_NAME.$(cat .tags).zip
zip -q -r $zip_name ./