mirror of
https://github.com/rclone/rclone.git
synced 2025-12-10 13:23:21 +00:00
docs: remove use of parameter type DIR
This commit is contained in:
@@ -810,7 +810,7 @@ without requiring the user to get involved and run a `--resync`. (See also:
|
|||||||
|
|
||||||
### --backup-dir1 and --backup-dir2
|
### --backup-dir1 and --backup-dir2
|
||||||
|
|
||||||
As of `v1.66`, [`--backup-dir`](/docs/#backup-dir-dir) is supported in bisync.
|
As of `v1.66`, [`--backup-dir`](/docs/#backup-dir) is supported in bisync.
|
||||||
Because `--backup-dir` must be a non-overlapping path on the same remote,
|
Because `--backup-dir` must be a non-overlapping path on the same remote,
|
||||||
Bisync has introduced new `--backup-dir1` and `--backup-dir2` flags to support
|
Bisync has introduced new `--backup-dir1` and `--backup-dir2` flags to support
|
||||||
separate backup-dirs for `Path1` and `Path2` (bisyncing between different
|
separate backup-dirs for `Path1` and `Path2` (bisyncing between different
|
||||||
|
|||||||
@@ -665,18 +665,18 @@ However, a suffix of `B` for Byte, `K` for KiB, `M` for MiB,
|
|||||||
`G` for GiB, `T` for TiB and `P` for PiB may be used. These are
|
`G` for GiB, `T` for TiB and `P` for PiB may be used. These are
|
||||||
the binary units, e.g. 1, 2\*\*10, 2\*\*20, 2\*\*30 respectively.
|
the binary units, e.g. 1, 2\*\*10, 2\*\*20, 2\*\*30 respectively.
|
||||||
|
|
||||||
### --backup-dir=DIR
|
### --backup-dir
|
||||||
|
|
||||||
When using `sync`, `copy` or `move` any files which would have been
|
When using `sync`, `copy` or `move` any files which would have been
|
||||||
overwritten or deleted are moved in their original hierarchy into this
|
overwritten or deleted are moved in their original hierarchy into this
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
If `--suffix` is set, then the moved files will have the suffix added
|
If `--suffix` is set, then the moved files will have the suffix added
|
||||||
to them. If there is a file with the same path (after the suffix has
|
to them. If there is a file with the same path (after the suffix has
|
||||||
been added) in DIR, then it will be overwritten.
|
been added) in the directory, then it will be overwritten.
|
||||||
|
|
||||||
The remote in use must support server-side move or copy and you must
|
The remote in use must support server-side move or copy and you must
|
||||||
use the same remote as the destination of the sync. The backup
|
use the same remote as the destination of the sync. The backup
|
||||||
directory must not overlap the destination directory without it being
|
directory must not overlap the destination directory without it being
|
||||||
excluded by a filter rule.
|
excluded by a filter rule.
|
||||||
|
|
||||||
@@ -835,7 +835,7 @@ Set to `0` to disable the buffering for the minimum memory usage.
|
|||||||
Note that the memory allocation of the buffers is influenced by the
|
Note that the memory allocation of the buffers is influenced by the
|
||||||
[--use-mmap](#use-mmap) flag.
|
[--use-mmap](#use-mmap) flag.
|
||||||
|
|
||||||
### --cache-dir=DIR
|
### --cache-dir
|
||||||
|
|
||||||
Specify the directory rclone will use for caching, to override
|
Specify the directory rclone will use for caching, to override
|
||||||
the default.
|
the default.
|
||||||
@@ -844,7 +844,7 @@ Default value is depending on operating system:
|
|||||||
- Windows `%LocalAppData%\rclone`, if `LocalAppData` is defined.
|
- Windows `%LocalAppData%\rclone`, if `LocalAppData` is defined.
|
||||||
- macOS `$HOME/Library/Caches/rclone` if `HOME` is defined.
|
- macOS `$HOME/Library/Caches/rclone` if `HOME` is defined.
|
||||||
- Unix `$XDG_CACHE_HOME/rclone` if `XDG_CACHE_HOME` is defined, else `$HOME/.cache/rclone` if `HOME` is defined.
|
- Unix `$XDG_CACHE_HOME/rclone` if `XDG_CACHE_HOME` is defined, else `$HOME/.cache/rclone` if `HOME` is defined.
|
||||||
- Fallback (on all OS) to `$TMPDIR/rclone`, where `TMPDIR` is the value from [--temp-dir](#temp-dir-dir).
|
- Fallback (on all OS) to `$TMPDIR/rclone`, where `TMPDIR` is the value from [--temp-dir](#temp-dir).
|
||||||
|
|
||||||
You can use the [config paths](/commands/rclone_config_paths/)
|
You can use the [config paths](/commands/rclone_config_paths/)
|
||||||
command to see the current value.
|
command to see the current value.
|
||||||
@@ -924,14 +924,14 @@ Specify when colors (and other ANSI codes) should be added to the output.
|
|||||||
|
|
||||||
`ALWAYS` always add ANSI codes, regardless of the output format (terminal or file)
|
`ALWAYS` always add ANSI codes, regardless of the output format (terminal or file)
|
||||||
|
|
||||||
### --compare-dest=DIR
|
### --compare-dest
|
||||||
|
|
||||||
When using `sync`, `copy` or `move` DIR is checked in addition to the
|
When using `sync`, `copy` or `move`, check a given directory in addition
|
||||||
destination for files. If a file identical to the source is found that
|
to the destination for files. If a file identical to the source is found
|
||||||
file is NOT copied from source. This is useful to copy just files that
|
that file is NOT copied from source. This is useful to copy just files
|
||||||
have changed since the last backup.
|
that have changed since the last backup.
|
||||||
|
|
||||||
You must use the same remote as the destination of the sync. The
|
You must use the same remote as the destination of the sync. The
|
||||||
compare directory must not overlap the destination directory.
|
compare directory must not overlap the destination directory.
|
||||||
|
|
||||||
See `--copy-dest` and `--backup-dir`.
|
See `--copy-dest` and `--backup-dir`.
|
||||||
@@ -1055,12 +1055,12 @@ The connection timeout is the amount of time rclone will wait for a
|
|||||||
connection to go through to a remote object storage system. It is
|
connection to go through to a remote object storage system. It is
|
||||||
`1m` by default.
|
`1m` by default.
|
||||||
|
|
||||||
### --copy-dest=DIR
|
### --copy-dest
|
||||||
|
|
||||||
When using `sync`, `copy` or `move` DIR is checked in addition to the
|
When using `sync`, `copy` or `move`, check a given directory in addition
|
||||||
destination for files. If a file identical to the source is found that
|
to the destination for files. If a file identical to the source is found,
|
||||||
file is server-side copied from DIR to the destination. This is useful
|
that file is server-side copied from the directory to the destination.
|
||||||
for incremental backup.
|
This is useful for incremental backup.
|
||||||
|
|
||||||
The remote in use must support server-side copy and you must
|
The remote in use must support server-side copy and you must
|
||||||
use the same remote as the destination of the sync. The compare
|
use the same remote as the destination of the sync. The compare
|
||||||
@@ -2381,7 +2381,7 @@ If using `--syslog` this sets the syslog facility (e.g. `KERN`, `USER`).
|
|||||||
See `man syslog` for a list of possible facilities. The default
|
See `man syslog` for a list of possible facilities. The default
|
||||||
facility is `DAEMON`.
|
facility is `DAEMON`.
|
||||||
|
|
||||||
### --temp-dir=DIR
|
### --temp-dir
|
||||||
|
|
||||||
Specify the directory rclone will use for temporary files, to override
|
Specify the directory rclone will use for temporary files, to override
|
||||||
the default. Make sure the directory exists and have accessible permissions.
|
the default. Make sure the directory exists and have accessible permissions.
|
||||||
|
|||||||
@@ -492,8 +492,8 @@ the locations that rclone will use.
|
|||||||
To override them set the corresponding options (as command-line arguments, or as
|
To override them set the corresponding options (as command-line arguments, or as
|
||||||
[environment variables](https://rclone.org/docs/#environment-variables)):
|
[environment variables](https://rclone.org/docs/#environment-variables)):
|
||||||
- [--config](https://rclone.org/docs/#config)
|
- [--config](https://rclone.org/docs/#config)
|
||||||
- [--cache-dir](https://rclone.org/docs/#cache-dir-dir)
|
- [--cache-dir](https://rclone.org/docs/#cache-dir)
|
||||||
- [--temp-dir](https://rclone.org/docs/#temp-dir-dir)
|
- [--temp-dir](https://rclone.org/docs/#temp-dir)
|
||||||
|
|
||||||
## Autostart
|
## Autostart
|
||||||
|
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ flag.
|
|||||||
Note that Jottacloud requires the MD5 hash before upload so if the
|
Note that Jottacloud requires the MD5 hash before upload so if the
|
||||||
source does not have an MD5 checksum then the file will be cached
|
source does not have an MD5 checksum then the file will be cached
|
||||||
temporarily on disk (in location given by
|
temporarily on disk (in location given by
|
||||||
[--temp-dir](/docs/#temp-dir-dir)) before it is uploaded.
|
[--temp-dir](/docs/#temp-dir)) before it is uploaded.
|
||||||
Small files will be cached in memory - see the
|
Small files will be cached in memory - see the
|
||||||
[--jottacloud-md5-memory-limit](#jottacloud-md5-memory-limit) flag.
|
[--jottacloud-md5-memory-limit](#jottacloud-md5-memory-limit) flag.
|
||||||
When uploading from local disk the source checksum is always available,
|
When uploading from local disk the source checksum is always available,
|
||||||
|
|||||||
Reference in New Issue
Block a user