We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
mnb22
7 years agoExplorer | Level 3
How to automate file management of photos and videos?
Has anyone figured out a way to automatically move photos and video files from the "camera uploads" folder to sub-folders that I created by year (ex. 2017, 2016, 2015, etc.)?
I wish there was some way to setup a Unix like service (ahem cron) to create a job that would interrogate a directory and move photos and videos based on its creation time.
I can do this in my sleep on a unix-like platform ... if anyone knows an automated way to do this, holla!
2 Replies
- Greg-DB7 years ago
Dropbox Community Moderator
Dropbox does offer an API you can use to operate on files in your Dropbox account, such as to move them between folders as desired. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
For moving files or folders in particular, you would use /2/files/move_v2:
https://www.dropbox.com/developers/documentation/http/documentation#files-move
That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
- mnb227 years agoExplorer | Level 3
Hi Greg,
very helpful information and thank you. I'm not a developer (more of a script kiddie) but will give it a shot.
Regards,
Mike M.
About Discuss Dropbox Developer & API
Make connections with other developers814 PostsLatest Activity: 20 hours ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!