my_debian_config/update_git

3 lines
77 B
Bash

#!/bin/bash
for f in /var/www/owncloud/apps/*/; do (cd "$f"; git pull); done