1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh FILES="*.css *.php *.inc" NAME=`cat CVS/Root | sed y/:/" "/ | sed y/@/" "/ | awk '{print $2}'` scp $FILES $NAME@pure-data.sf.net:/home/groups/p/pu/pure-data/htdocs # make writeable to pd-group: ssh chmod g+w $NAME@pure-data.sf.net:/home/groups/p/pu/pure-data/htdocs/*