#!bin/sh
# Prerequisite: have a / at the end
# of directory names accessed_files
# (rsync behavior)

source=/scratchbox/users/mike/targets/mediaplayer
target=/scratchbox/users/mike/targets/mediaplayerprod
for f in `cat access_file`;
do
  mkdir -p $target/`dirname $f`
  rsync -a $source/$f $target/$f
done
