@tb.p/dd 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/database/dbOperations.js +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/database/dbOperations.js
CHANGED
|
@@ -119,6 +119,7 @@ class DatabaseOperations {
|
|
|
119
119
|
file_size,
|
|
120
120
|
COUNT(id) as duplicate_count,
|
|
121
121
|
GROUP_CONCAT(file_path, ';' ORDER BY
|
|
122
|
+
priority ASC,
|
|
122
123
|
LENGTH(file_path) - LENGTH(REPLACE(REPLACE(file_path, '/', ''), '\\', '')) DESC,
|
|
123
124
|
file_path ASC
|
|
124
125
|
) as file_paths
|
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const program = new Command();
|
|
|
15
15
|
program
|
|
16
16
|
.name('@tb.p/dd')
|
|
17
17
|
.description('File Deduplication Tool')
|
|
18
|
-
.version('1.3.
|
|
18
|
+
.version('1.3.2')
|
|
19
19
|
.option('-t, --targets <string>', 'Pipe-separated paths to directories', process.cwd())
|
|
20
20
|
.option('-e, --extensions <string>', 'Pipe-separated file extensions')
|
|
21
21
|
.option('-g, --get-extensions', 'Get file extensions in target directories')
|