2018-10-15 18:03:08 +08:00
|
|
|
---
|
2019-08-26 22:25:20 +08:00
|
|
|
date: 2019-08-26T15:19:45+01:00
|
2018-10-15 18:03:08 +08:00
|
|
|
title: "rclone settier"
|
|
|
|
slug: rclone_settier
|
|
|
|
url: /commands/rclone_settier/
|
|
|
|
---
|
|
|
|
## rclone settier
|
|
|
|
|
|
|
|
Changes storage class/tier of objects in remote.
|
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
|
|
|
|
|
|
|
rclone settier changes storage tier or class at remote if supported.
|
|
|
|
Few cloud storage services provides different storage classes on objects,
|
|
|
|
for example AWS S3 and Glacier, Azure Blob storage - Hot, Cool and Archive,
|
|
|
|
Google Cloud Storage, Regional Storage, Nearline, Coldline etc.
|
|
|
|
|
2019-05-11 06:18:45 +08:00
|
|
|
Note that, certain tier changes make objects not available to access immediately.
|
2018-10-15 18:03:08 +08:00
|
|
|
For example tiering to archive in azure blob storage makes objects in frozen state,
|
|
|
|
user can restore by setting tier to Hot/Cool, similarly S3 to Glacier makes object
|
|
|
|
inaccessible.true
|
|
|
|
|
|
|
|
You can use it to tier single object
|
|
|
|
|
|
|
|
rclone settier Cool remote:path/file
|
|
|
|
|
|
|
|
Or use rclone filters to set tier on only specific files
|
|
|
|
|
|
|
|
rclone --include "*.txt" settier Hot remote:path/dir
|
|
|
|
|
|
|
|
Or just provide remote directory and all files in directory will be tiered
|
|
|
|
|
|
|
|
rclone settier tier remote:path/dir
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
rclone settier tier remote:path [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for settier
|
|
|
|
```
|
|
|
|
|
2019-06-20 23:18:02 +08:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2018-10-15 18:03:08 +08:00
|
|
|
### SEE ALSO
|
|
|
|
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|
|
|