Skip to content

A small Python script that generates a .txt file of the sizes of your Dropbox folders. Perfect for checking the sizes of folders that you have selectively unsync-ed. Forked from siawyoung, who developed for Dropbox Python SDK V1, and updated for Dropbox Python SDK V2

License

Notifications You must be signed in to change notification settings

lorenzoridolfi/Dropbox-Folder-Size

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Dropbox-Folder-Size

A small Python script that generates a .txt file of the sizes of your Dropbox folders. Perfect for checking the sizes of folders that you have selectively unsync-ed.

Updated for Dropbox Python SDK V2!!!!!!!

Script Requirements

  1. Python SDK Installation instructions here.

  2. Dropbox Access Token. Still new to Dropbox development, so I'm not sure what the proper way of getting an access token is, but the way I did it was to:

Usage Instructions

Input your access token into the script.

The script accepts 2 variables:

  1. Denomination (non-negative integer). Input 0 to express size in bytes, 1 for KB, 2 for MB, 3 for GB, etc.

  2. Levels (non-negative integer). Tells the script how far down the directory tree you want to look. E.g. if set to 1, the script will output the sizes of all your folders in the main Dropbox directory.

Known Bugs

  1. Dropbox still thinks .pages documents are folders. I might or might not get around to fixing this.

Possible Features

  1. Make this script a full-fledged app, with browser redirection for OAuth authentication and stuff.
  2. Add support to run script in sub-folders.
  3. Add a switch to un-ignore files that appear above the set level.

About

A small Python script that generates a .txt file of the sizes of your Dropbox folders. Perfect for checking the sizes of folders that you have selectively unsync-ed. Forked from siawyoung, who developed for Dropbox Python SDK V1, and updated for Dropbox Python SDK V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%