Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (4 sloc) 188 Bytes
#!/bin/bash
LAST_FILE=$(basename $(ls -1 www/*.sql.gz | tail -n 1))
echo "Importing $LAST_FILE";
vagrant exec "cd ~/www/src/shrub/tools/table; sudo ./table-load-gzip ../../$LAST_FILE"
You can’t perform that action at this time.