mirror of
https://github.com/paleotronic/diskm8.git
synced 2024-12-21 03:29:58 +00:00
Merge pull request #14 from OrangeBox72/master
Remove old dskalyzer refs, generalise example home directory.
This commit is contained in:
commit
2a5efddea2
@ -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
|
||||
|
12
USAGE.md
12
USAGE.md
@ -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"
|
||||
```
|
||||
|
||||
|
@ -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())
|
||||
|
2
main.go
2
main.go
@ -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)")
|
||||
|
Loading…
Reference in New Issue
Block a user