cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to automate file management of photos and videos?

How to automate file management of photos and videos?

mnb22
Explorer | Level 3

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 2

Greg-DB
Dropbox Staff

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. 

mnb22
Explorer | 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. 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    mnb22 Explorer | Level 3
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?