mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 10:54:56 +01:00
123 lines
3.0 KiB
Markdown
123 lines
3.0 KiB
Markdown
|
---
|
||
|
title: "1Fichier"
|
||
|
description: "Rclone docs for 1Fichier"
|
||
|
date: "2015-10-14"
|
||
|
---
|
||
|
|
||
|
<i class="fa fa-archive"></i> 1Fichier
|
||
|
-----------------------------------------
|
||
|
|
||
|
This is a backend for the [1ficher](https://1fichier.com) cloud
|
||
|
storage service. Note that a Premium subscription is required to use
|
||
|
the API.
|
||
|
|
||
|
Paths are specified as `remote:path`
|
||
|
|
||
|
Paths may be as deep as required, eg `remote:directory/subdirectory`.
|
||
|
|
||
|
The initial setup for 1Fichier involves getting the API key from the website which you
|
||
|
need to do in your browser.
|
||
|
|
||
|
Here is an example of how to make a remote called `remote`. First run:
|
||
|
|
||
|
rclone config
|
||
|
|
||
|
This will guide you through an interactive setup process:
|
||
|
|
||
|
```
|
||
|
No remotes found - make a new one
|
||
|
n) New remote
|
||
|
s) Set configuration password
|
||
|
q) Quit config
|
||
|
n/s/q> n
|
||
|
name> remote
|
||
|
Type of storage to configure.
|
||
|
Enter a string value. Press Enter for the default ("").
|
||
|
Choose a number from below, or type in your own value
|
||
|
1 / 1Fichier
|
||
|
\ "fichier"
|
||
|
...
|
||
|
Storage> fichier
|
||
|
** See help for fichier backend at: https://rclone.org/fichier/ **
|
||
|
|
||
|
Your API Key, get it from https://1fichier.com/console/params.pl
|
||
|
Enter a string value. Press Enter for the default ("").
|
||
|
api_key> example_key
|
||
|
|
||
|
Edit advanced config? (y/n)
|
||
|
y) Yes
|
||
|
n) No
|
||
|
y/n>
|
||
|
Remote config
|
||
|
--------------------
|
||
|
[remote]
|
||
|
type = fichier
|
||
|
api_key = example_key
|
||
|
--------------------
|
||
|
y) Yes this is OK
|
||
|
e) Edit this remote
|
||
|
d) Delete this remote
|
||
|
y/e/d> y
|
||
|
```
|
||
|
|
||
|
Once configured you can then use `rclone` like this,
|
||
|
|
||
|
List directories in top level of your 1Fichier account
|
||
|
|
||
|
rclone lsd remote:
|
||
|
|
||
|
List all the files in your 1Fichier account
|
||
|
|
||
|
rclone ls remote:
|
||
|
|
||
|
To copy a local directory to a 1Fichier directory called backup
|
||
|
|
||
|
rclone copy /home/source remote:backup
|
||
|
|
||
|
### Modified time and hashes ###
|
||
|
|
||
|
1Fichier does not support modification times. It supports the Whirlpool hash algorithm.
|
||
|
|
||
|
### Duplicated files ###
|
||
|
|
||
|
1Fichier can have two files with exactly the same name and path (unlike a
|
||
|
normal file system).
|
||
|
|
||
|
Duplicated files cause problems with the syncing and you will see
|
||
|
messages in the log about duplicates.
|
||
|
|
||
|
### Forbidden characters ###
|
||
|
|
||
|
1Fichier does not support the characters ``\ < > " ' ` $`` and spaces at the beginning of folder names.
|
||
|
`rclone` automatically escapes these to a unicode equivalent. The exception is `/`,
|
||
|
which cannot be escaped and will therefore lead to errors.
|
||
|
|
||
|
<!--- autogenerated options start - DO NOT EDIT, instead edit fs.RegInfo in backend/fichier/fichier.go then run make backenddocs -->
|
||
|
### Standard Options
|
||
|
|
||
|
Here are the standard options specific to fichier (1Fichier).
|
||
|
|
||
|
#### --fichier-api-key
|
||
|
|
||
|
Your API Key, get it from https://1fichier.com/console/params.pl
|
||
|
|
||
|
- Config: api_key
|
||
|
- Env Var: RCLONE_FICHIER_API_KEY
|
||
|
- Type: string
|
||
|
- Default: ""
|
||
|
|
||
|
### Advanced Options
|
||
|
|
||
|
Here are the advanced options specific to fichier (1Fichier).
|
||
|
|
||
|
#### --fichier-shared-folder
|
||
|
|
||
|
If you want to download a shared folder, add this parameter
|
||
|
|
||
|
- Config: shared_folder
|
||
|
- Env Var: RCLONE_FICHIER_SHARED_FOLDER
|
||
|
- Type: string
|
||
|
- Default: ""
|
||
|
|
||
|
<!--- autogenerated options stop -->
|