2018-10-15 12:03:08 +02:00
|
|
|
---
|
2020-05-25 12:59:33 +02:00
|
|
|
date: 2020-05-25T12:06:00+01:00
|
2018-10-15 12:03:08 +02:00
|
|
|
title: "rclone settier"
|
2020-05-16 16:11:55 +02:00
|
|
|
description: "Changes storage class/tier of objects in remote."
|
2018-10-15 12:03:08 +02:00
|
|
|
slug: rclone_settier
|
|
|
|
url: /commands/rclone_settier/
|
2020-02-10 13:31:45 +01:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/settier/ and as part of making a release run "make commanddocs"
|
2018-10-15 12:03:08 +02:00
|
|
|
---
|
2020-05-22 12:17:37 +02:00
|
|
|
# rclone settier
|
2018-10-15 12:03:08 +02:00
|
|
|
|
|
|
|
Changes storage class/tier of objects in remote.
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## Synopsis
|
2018-10-15 12:03:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
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 00:18:45 +02:00
|
|
|
Note that, certain tier changes make objects not available to access immediately.
|
2018-10-15 12:03:08 +02: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]
|
|
|
|
```
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## Options
|
2018-10-15 12:03:08 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for settier
|
|
|
|
```
|
|
|
|
|
2019-06-20 17:18:02 +02:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 12:17:37 +02:00
|
|
|
## SEE ALSO
|
2018-10-15 12:03:08 +02:00
|
|
|
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|
|
|