mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +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
|
||||
|
||||
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,
|
||||
Bisync has introduced new `--backup-dir1` and `--backup-dir2` flags to support
|
||||
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
|
||||
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
|
||||
overwritten or deleted are moved in their original hierarchy into this
|
||||
directory.
|
||||
|
||||
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
|
||||
been added) in DIR, then it will be overwritten.
|
||||
to them. If there is a file with the same path (after the suffix has
|
||||
been added) in the directory, then it will be overwritten.
|
||||
|
||||
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
|
||||
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
|
||||
[--use-mmap](#use-mmap) flag.
|
||||
|
||||
### --cache-dir=DIR
|
||||
### --cache-dir
|
||||
|
||||
Specify the directory rclone will use for caching, to override
|
||||
the default.
|
||||
@@ -844,7 +844,7 @@ Default value is depending on operating system:
|
||||
- Windows `%LocalAppData%\rclone`, if `LocalAppData` 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.
|
||||
- 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/)
|
||||
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)
|
||||
|
||||
### --compare-dest=DIR
|
||||
### --compare-dest
|
||||
|
||||
When using `sync`, `copy` or `move` DIR is checked in addition to the
|
||||
destination for files. If a file identical to the source is found that
|
||||
file is NOT copied from source. This is useful to copy just files that
|
||||
have changed since the last backup.
|
||||
When using `sync`, `copy` or `move`, check a given directory in addition
|
||||
to the destination for files. If a file identical to the source is found
|
||||
that file is NOT copied from source. This is useful to copy just files
|
||||
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.
|
||||
|
||||
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
|
||||
`1m` by default.
|
||||
|
||||
### --copy-dest=DIR
|
||||
### --copy-dest
|
||||
|
||||
When using `sync`, `copy` or `move` DIR is checked in addition to the
|
||||
destination for files. If a file identical to the source is found that
|
||||
file is server-side copied from DIR to the destination. This is useful
|
||||
for incremental backup.
|
||||
When using `sync`, `copy` or `move`, check a given directory in addition
|
||||
to the destination for files. If a file identical to the source is found,
|
||||
that file is server-side copied from the directory to the destination.
|
||||
This is useful for incremental backup.
|
||||
|
||||
The remote in use must support server-side copy and you must
|
||||
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
|
||||
facility is `DAEMON`.
|
||||
|
||||
### --temp-dir=DIR
|
||||
### --temp-dir
|
||||
|
||||
Specify the directory rclone will use for temporary files, to override
|
||||
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
|
||||
[environment variables](https://rclone.org/docs/#environment-variables)):
|
||||
- [--config](https://rclone.org/docs/#config)
|
||||
- [--cache-dir](https://rclone.org/docs/#cache-dir-dir)
|
||||
- [--temp-dir](https://rclone.org/docs/#temp-dir-dir)
|
||||
- [--cache-dir](https://rclone.org/docs/#cache-dir)
|
||||
- [--temp-dir](https://rclone.org/docs/#temp-dir)
|
||||
|
||||
## Autostart
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ flag.
|
||||
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
|
||||
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
|
||||
[--jottacloud-md5-memory-limit](#jottacloud-md5-memory-limit) flag.
|
||||
When uploading from local disk the source checksum is always available,
|
||||
|
||||
Reference in New Issue
Block a user