Skip to contents

Sign in

pd_auth() pd_deauth() pd_has_auth()
Sign in to Proton Drive
pd_cli_path() pd_has_cli() pd_cli_version()
Locate the Proton Drive CLI

Find and inspect

pd_ls()
List the contents of a Proton Drive folder
pd_get()
Get Proton Drive files by path or ID
pd_reveal()
Add a column of Proton Drive metadata to a dribble
pd_size()
Total size of Proton Drive folders

Upload, download, read

pd_upload() pd_put() pd_update()
Upload files or folders to Proton Drive
pd_download()
Download a file or folder from Proton Drive
pd_read_string() pd_read_raw()
Read the content of a Proton Drive file

Organise

pd_mkdir()
Create a folder on Proton Drive
pd_cp()
Copy a Proton Drive file or folder
pd_mv() pd_rename()
Move or rename a Proton Drive file or folder
pd_trash() pd_untrash() pd_empty_trash()
Move Proton Drive files to or from the trash
pd_rm()
Permanently delete Proton Drive files

Share

pd_share() pd_unshare() pd_sharing() pd_leave()
Share Proton Drive files with people
pd_share_link() pd_link() pd_unshare_link()
Share Proton Drive files by link
pd_invitations() pd_accept_invitation() pd_reject_invitation()
Manage invitations to items shared with you

Dribbles and IDs

dribble
dribble object
as_dribble()
Coerce to a dribble
is_dribble()
Is this a dribble?
as_id()
Mark strings as Proton Drive node IDs

Helpers

local_pd_quiet() with_pd_quiet()
Silence protondrive messages
pd_available() skip_if_no_pd()
Skip tests and examples that need a Proton Drive session