aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/fix_dat
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/fix_dat')
-rw-r--r--unmaintained/fix_dat/fix_dat.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/unmaintained/fix_dat/fix_dat.go b/unmaintained/fix_dat/fix_dat.go
index 164b5b238..5f1ea1375 100644
--- a/unmaintained/fix_dat/fix_dat.go
+++ b/unmaintained/fix_dat/fix_dat.go
@@ -28,12 +28,12 @@ This is to resolve an one-time issue that caused inconsistency with .dat and .id
In this case, the .dat file contains all data, but some deletion caused incorrect offset.
The .idx has all correct offsets.
-1. fix the .dat file, a new .dat_fixed file will be generated.
- go run fix_dat.go -volumeId=9 -dir=/Users/chrislu/Downloads
-2. move the original .dat and .idx files to some backup folder, and rename .dat_fixed to .dat file
+ 1. fix the .dat file, a new .dat_fixed file will be generated.
+ go run fix_dat.go -volumeId=9 -dir=/Users/chrislu/Downloads
+ 2. move the original .dat and .idx files to some backup folder, and rename .dat_fixed to .dat file
mv 9.dat_fixed 9.dat
-3. fix the .idx file with the "weed fix"
- weed fix -volumeId=9 -dir=/Users/chrislu/Downloads
+ 3. fix the .idx file with the "weed fix"
+ weed fix -volumeId=9 -dir=/Users/chrislu/Downloads
*/
func main() {
flag.Parse()