Merge pull request #14 from OrangeBox72/master

Remove old dskalyzer refs, generalise example home directory.
This commit is contained in:
April 2020-05-03 19:57:16 +10:00 committed by GitHub
commit 2a5efddea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -83,7 +83,7 @@ Command-line flags:
-csv
Output data to CSV format
-datastore string
Database of disk fingerprints for checking (default "/home/april/DiskM8/fingerprints")
Database of disk fingerprints for checking (default "/home/myname/DiskM8/fingerprints")
-dir
Directory specified disk (needs -disk)
-dir-create string

View File

@ -1,32 +1,32 @@
## Usage examples
Ingest your disk collection, so dskalyzer can report on them:
Ingest your disk collection, so diskm8 can report on them:
```
dskalyzer -ingest C:\Users\myname\LotsOfDisks
diskm8 -ingest C:\Users\myname\LotsOfDisks
```
Find Whole Disk duplicates:
```
dskalyzer -whole-dupes
diskm8 -whole-dupes
```
Find Active Sectors duplicates (inactive sectors can be different):
```
dskalyzer -as-dupes
diskm8 -as-dupes
```
Find Duplicate files across disks:
```
dskalyzer -file-dupes
diskm8 -file-dupes
```
Find Active Sector duplicates but only under a folder:
```
dskalyzer -as-dupes -select "C:\Users\myname\LotsOfDisks\Operating Systems"
diskm8 -as-dupes -select "C:\Users\myname\LotsOfDisks\Operating Systems"
```

View File

@ -36,7 +36,7 @@ func Get(id int) *Logger {
func NewLogger(id int, app string) *Logger {
if app == "" {
app = "dskalyzer"
app = "diskm8"
}
filename := fmt.Sprintf("%s_%d_%s.log", app, id, fts())

View File

@ -89,7 +89,7 @@ var shell = flag.Bool("shell", false, "Start interactive mode")
var shellBatch = flag.String("shell-batch", "", "Execute shell command(s) from file and exit")
var withDisk = flag.String("with-disk", "", "Perform disk operation (-file-extract,-file-put,-file-delete)")
var withPath = flag.String("with-path", "", "Target path for disk operation (-file-extract,-file-put,-file-delete)")
var fileExtract = flag.String("file-extract", "", "File to delete from disk (-with-disk)")
var fileExtract = flag.String("file-extract", "", "File to extract from disk (-with-disk)")
var filePut = flag.String("file-put", "", "File to put on disk (-with-disk)")
var fileDelete = flag.String("file-delete", "", "File to delete (-with-disk)")
var fileMkdir = flag.String("dir-create", "", "Directory to create (-with-disk)")