Deleting and renaming¶
Everything on this page changes what is in the store and none of it can be undone from Cleat.
Delete¶
Delete removes the selected objects. Selecting a folder removes every object beneath it; the confirmation says so. While it runs a dialog shows how far it has got, with Stop. Stopping leaves whatever has not been reached yet in place.
If the store refuses some of the keys, the others are still deleted and the ones that failed are listed with the reason the store gave for each.
Rename¶
Rename… applies to one object. Object storage has no rename, so this is a copy followed by a delete of the original:
- If the new name is already taken, Cleat asks before replacing it.
- The original is deleted only after the copy is confirmed.
- Objects over 5 GB are copied in parts, entirely within the store — the data does not pass through your machine.
- Content type, metadata and storage class are carried over.
If the connection is lost or you stop the operation after the copy was requested, the copy may or may not exist. Cleat says so, and the original is untouched.
Folders cannot be renamed.
Empty Bucket¶
Empty Bucket… is on a bucket's menu in the list of buckets. It asks you to type the bucket's name, then removes everything in it:
- every object;
- every older version and every delete marker;
- every unfinished multipart upload.
The bucket itself stays.
Versioned buckets¶
In a bucket with versioning on, deleting an object does not remove it — the store keeps the data and adds a delete marker on top. The bucket looks empty and goes on costing what it did. Ordinary Delete in Cleat behaves this way too, because that is what the store does with a delete request.
Empty Bucket is the operation that actually clears a versioned bucket: it deletes the versions and the markers themselves. That is also what a provider requires before it will let you delete the bucket.
Some stores cannot list unfinished multipart uploads. On those, Cleat empties the rest and tells you the uploads could not be checked.