Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. set -ex
  4.  
  5. . env/bin/activate
  6.  
  7. for i in arquivos/*; do
  8. if [ -f $i/vivo.xlsx ]; then
  9. django-admin.py importgesfrota -f $i/vivo.xlsx -t vivo;
  10. fi;
  11. if [ -f $i/sascar.xlsx ]; then
  12. django-admin.py importgesfrota -f $i/sascar.xlsx -t sascar;
  13. fi;
  14. mv $i ~/arquivos_processados/
  15. done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement