From b6054013571e89b4b59c47e769226923b64f442e Mon Sep 17 00:00:00 2001 From: johnny Date: Wed, 25 Dec 2019 20:42:33 -0600 Subject: [PATCH 1/3] updated app name to 'diskm8' --- USAGE.md | 12 ++++++------ loggy/logger.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/USAGE.md b/USAGE.md index 007d0dd..4e4f949 100644 --- a/USAGE.md +++ b/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" ``` diff --git a/loggy/logger.go b/loggy/logger.go index 040ee80..cf7cf7f 100644 --- a/loggy/logger.go +++ b/loggy/logger.go @@ -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()) From 6d12d718671fb925101204a0cb0297272b44f887 Mon Sep 17 00:00:00 2001 From: johnny Date: Wed, 25 Dec 2019 20:43:29 -0600 Subject: [PATCH 2/3] generalized name of home directory --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eab0607..884b88b 100644 --- a/README.md +++ b/README.md @@ -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 From 6d952cd8a1f2133ff9c0816b4823c490177be552 Mon Sep 17 00:00:00 2001 From: johnny Date: Wed, 25 Dec 2019 21:11:38 -0600 Subject: [PATCH 3/3] Fixed description for file-extract --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 143246c..339e666 100644 --- a/main.go +++ b/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)")