Repository navigation
Expand file tree
/
Copy pathbackslash.toml
More file actions
66 lines (61 loc) · 1.81 KB
/
Copy pathbackslash.toml
File metadata and controls
66 lines (61 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[extension]
id = "duplicates"
title = "Duplicate Files"
description = "Find identical files in a folder, biggest waste first, and keep the newest or oldest copy, the others going to the trash"
version = "1.0.0"
author = "Backslash"
icon = "bs-copy"
license = "MIT"
categories = ["system"]
# Files are compared by size, then by their first 64 KB (read here), then by a
# whole-file hash from b3sum when installed, else sha256sum; the hashes are
# cached in the extension's storage. Nothing is deleted: gio moves copies to the
# trash, and gdbus shows a file in the file manager. The home folder and mounted
# drives are where folders can be searched.
[permissions]
run = ["b3sum", "sha256sum", "gio", "gdbus"]
read = ["~", "/media", "/run/media", "/mnt"]
env = ["HOME"]
[[commands]]
name = "duplicates"
title = "Find Duplicate Files"
description = "Identical files in a folder by space wasted: keep the newest, the oldest, or pick one"
icon = "bs-copy"
keywords = [
"duplicate",
"duplicates",
"duplicate files",
"identical",
"same file",
"dedupe",
"deduplicate",
"fdupes",
"czkawka",
"clean up",
"free space",
"doublon",
"doublons",
"fichiers en double",
"fichiers identiques",
"dédoublonner",
"libérer de l'espace",
]
[[commands.arguments]]
name = "folder"
placeholder = "~/Pictures"
[[preferences]]
name = "folder"
title = "Default folder"
description = "Searched when you don't type one, e.g. ~/Pictures or /run/media/you/Backup"
default = "~"
[[preferences]]
name = "minSize"
title = "Minimum size"
description = "Smaller files are ignored, e.g. 100 KB or 1 MB (0 for every file)"
default = "1 MB"
[[preferences]]
name = "hidden"
title = "Include hidden files"
description = "Also search dot files and folders (tool caches, Git and node_modules folders are always skipped)"
type = "boolean"
default = false