Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (9 sloc) 417 Bytes
#!/bin/bash
# Create a FloydHub dataset consisting of files changed by the setup wrapper
# (e.g. packages dependencies) for quicker launching of jobs
set -o errexit
touch before_file
bash floyd_wrapper.sh
echo "Copying changed files..."
find / -type f -newer before_file | grep -v -e '^/proc' -e '^/sys' -e '^/output' -e '^/code' -e '^/floydlocaldata' -e '^/root' | xargs -i cp --parents {} /output
echo "Done!"