Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 14 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!"