fixed passes parameter, added shorthands
This commit is contained in:
parent
c070f4a178
commit
437a19b662
@ -12,7 +12,7 @@ Note that this process is not entirely "in-place", since a file has to be fully
|
|||||||
At no point in time are both versions of the original file deleted.
|
At no point in time are both versions of the original file deleted.
|
||||||
To make sure file attributes, permissions and file content are maintained when copying the original file, all attributes and the file checksum is compared before removing the original file.
|
To make sure file attributes, permissions and file content are maintained when copying the original file, all attributes and the file checksum is compared before removing the original file.
|
||||||
|
|
||||||
Since file attributes are fully retained, it is not possible to verify if an individual file has been rebalanced. However, this script keeps track of rebalanced files by maintaining a "database" file called `rebalance_db.txt` in its working directory (if not disabled using `-passes 0`). This file contains two lines of text for each processed file:
|
Since file attributes are fully retained, it is not possible to verify if an individual file has been rebalanced. However, this script keeps track of rebalanced files by maintaining a "database" file called `rebalance_db.txt` in its working directory (if not disabled using `--passes 0`). This file contains two lines of text for each processed file:
|
||||||
|
|
||||||
* One line for the file path
|
* One line for the file path
|
||||||
* and the next line for the current count of rebalances
|
* and the next line for the current count of rebalances
|
||||||
@ -80,7 +80,7 @@ Although this script **does** have a progress output (files as well as percentag
|
|||||||
|
|
||||||
When aborting the script midway through, be sure to check the last lines of its output. When cancelling before or during the renaming process a ".rebalance" file might be left and you have to rename it manually.
|
When aborting the script midway through, be sure to check the last lines of its output. When cancelling before or during the renaming process a ".rebalance" file might be left and you have to rename it manually.
|
||||||
|
|
||||||
Although the `-passes` paramter can be used to limit the maximum amount of rebalance passes per file, it is only meant to speedup aborted runs. Individual files will **not be process multiple times automatically**. To reach multiple passes you have to run the script on the same target directory multiple times.
|
Although the `--passes` paramter can be used to limit the maximum amount of rebalance passes per file, it is only meant to speedup aborted runs. Individual files will **not be process multiple times automatically**. To reach multiple passes you have to run the script on the same target directory multiple times.
|
||||||
|
|
||||||
## Attributions
|
## Attributions
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user