cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Archive Folders older than 1 week

Archive Folders older than 1 week

One_of_us
New member | Level 2

Is it possible to archive folders and content older than say 1 week ? Using python. 

 

I have a working folder /Dropbox/Work/Images and I want to archive stuff that is older than a week from this specific folder /Images/ ? And doing this automatically ? 

 

Thanks ! 

1 Reply 1

Greg-DB
Dropbox Staff

Dropbox doesn't offer a way to perform operations automatically based on the age of an item, but you can use the API to write code to perform whatever operations you want, whenever desired.

For example, with the Dropbox Python SDK, you can list files/folders using files_list_folder and files_list_folder_continue, and you can move items using files_move_v2 or delete items using files_delete_v2.

I recommend reading the File Access Guide for information on interacting with files via the Dropbox API.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?