Skip to content
proton-cli

proton drive trash

Items you have removed but not yet deleted.

Every command under proton drive trash, with the arguments and flags it takes. For these commands in use, see the drive guide.

Holds empty, list and restore.

Delete everything in the trash, permanently.

That is everything trash list shows, trashed photos included.

proton drive trash empty
Terminal window
proton drive trash empty

List what is in the trash.

This covers everything the account has trashed, photos included. trash empty deletes all of it.

A trashed item has no path, so address it by the ID shown here. An item whose name cannot be decrypted is still listed, so you can still act on it.

proton drive trash list
Terminal window
proton drive trash list
proton drive trash list --sort trashed --desc
Flag Description
--desc Reverse the order
--limit int How many items per page; 0 for all of them (default 50)
--page int Which page of results, counting from zero
--sort string Order by: name, size, trashed (default name)

Put items back where they came from.

A trashed item has no path. Name it by the ID that trash list shows.

proton drive trash restore REF...
Terminal window
proton drive trash restore 5bH2mQxK

Every command also takes the flags that work everywhere.