--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
not sure how you would do a hard copy without reading and writing the content. even fs copy on the same disk partition does that. you can symlink in fs.files as OP suggested or try a subprocess or cStringIO gridfs.get(_id) gridfs.put().
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/TlHZZ2v6Q00J.
There is no query into command which would allow doing that completely on the server.
You could use javascript in a db.eval to do that now.
Or, add a feature request in jira.