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.
jumpserver/utils/clean_migrations.sh

12 lines
136 B

#!/bin/bash
#
cd ../apps
for d in $(ls);do
if [ -d $d ] && [ -d $d/migrations ];then
rm -f $d/migrations/00*
fi
done