Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created January 21, 2016 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/98a578a5c62025b8c0f7 to your computer and use it in GitHub Desktop.
Save anonymous/98a578a5c62025b8c0f7 to your computer and use it in GitHub Desktop.
`cd /data/model_cache; tar -cvf /tmp/#{tar} #{@model_id}`
`cp /tmp/#{tar} #{@root_dir}/storage/`
`rm -rf #{@root_dir}/model_cache/#{@model_id}`
`mv /tmp/#{tar} #{@root_dir}/uploader/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment