Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -ex
- . env/bin/activate
- for i in arquivos/*; do
- if [ -f $i/vivo.xlsx ]; then
- django-admin.py importgesfrota -f $i/vivo.xlsx -t vivo;
- fi;
- if [ -f $i/sascar.xlsx ]; then
- django-admin.py importgesfrota -f $i/sascar.xlsx -t sascar;
- fi;
- mv $i ~/arquivos_processados/
- done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement