Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Say in SAFETY how Move to Trash names the pages, and in peel orphans that nothing is chosen for you
Țugui Dragoșc83e226a6181
diff --git a/Packages/PeelCore/Sources/PeelCommandLine/Commands/FileCommands.swift b/Packages/PeelCore/Sources/PeelCommandLine/Commands/FileCommands.swiftindex 9009fddd..8985241c 100644--- a/Packages/PeelCore/Sources/PeelCommandLine/Commands/FileCommands.swift+++ b/Packages/PeelCore/Sources/PeelCommandLine/Commands/FileCommands.swift@@ -6,7 +6,7 @@ struct OrphansCommand: AsyncParsableCommand {static let configuration = CommandConfiguration(commandName: "orphans",abstract: "List files left by apps that are no longer installed, and move a group to the Trash.",- discussion: "Nothing here is ever suggested, so --remove takes the identifier of one group. What Peel refuses to move, what it leaves for you to choose in the app, and what needs administrator access, stays. What only an administrator can move is listed apart, with how to remove it in Finder."+ discussion: "Nothing here is selected for you, so --remove takes the identifier of one group. What Peel refuses to move, what it leaves for you to choose in the app, and what needs administrator access, stays. What only an administrator can move is listed apart, with how to remove it in Finder.")@Argument(help: "The group to move, as `peel orphans` names it in its first column.")diff --git a/Packages/PeelCore/Tests/PeelCoreTests/CommandLineTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/CommandLineTests.swiftindex 40290f75..cfd64a72 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/CommandLineTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/CommandLineTests.swift@@ -1233,7 +1233,7 @@ struct CommandLineTests {== "bundle identifier, review: inside a folder that belongs to macOS or to another installed app")}- /// Nothing in Orphaned Files is ever suggested, so its `--remove` says what it moves instead: the group named.+ /// Nothing in Orphaned Files is selected for you, so its `--remove` says what it moves instead: the group named.@Test func removeSaysWhatEachCommandMoves() {let orphans = OrphansCommand.helpMessage(columns: 200)#expect(orphans.contains("Move the named group to the Trash, leaving out what Peel holds back."))@@ -1393,7 +1393,7 @@ struct CommandLineTests {#expect(throws: (any Error).self) { try PeelCommand.parseAsRoot(["caches", "--remove", "--json"]) }}- /// Nothing in Orphaned Files is ever suggested, so `peel orphans --remove` has to name one group.+ /// Nothing in Orphaned Files is selected for you, so `peel orphans --remove` has to name one group.@Test func removingOrphansNamesOneGroup() throws {let named = try #require(try PeelCommand.parseAsRoot(["orphans", "--remove", "com.example.app", "-y"]) as? OrphansCommand)diff --git a/SAFETY.md b/SAFETY.mdindex 713064e2..b05d2a90 100644--- a/SAFETY.md+++ b/SAFETY.md@@ -481,10 +481,11 @@ Other Devices.What you select on the pages that free space (Orphaned Files, Space, Developer, Build Artifacts, Installers and Backups,Duplicates, and File Search) stays selected while you look at the others, and Move to Trash on any of them moves all ofit. Only a page you have opened, or chosen through the toolbar's Select menu, counts, so nothing moves from a page you-never saw. Before anything moves, the question lists every page with how much it holds, and each page's part is moved by-its own tool, with that tool's checks at that moment: Developer waits for its app to quit, Space leaves out what an app-opened since is writing to, and Duplicates refuses a copy that changed. What a tool refuses for the item itself, such as-a folder a program still has open, leaves the selection, so the next Move to Trash on any page does not carry it again.+never saw. Before anything moves, the question names the first few pages with how much each holds, and how many items+the others hold, and each page's part is moved by its own tool, with that tool's checks at that moment: Developer waits+for its app to quit, Space leaves out what an app opened since is writing to, and Duplicates refuses a copy that+changed. What a tool refuses for the item itself, such as a folder a program still has open, leaves the selection, so+the next Move to Trash on any page does not carry it again.Some things are shown and never removed at all, because the removal cannot be undone: local Time Machinesnapshots are explained, never deleted, and what an app or a tool manages itself, such as simulators, Docker's disk,diff --git a/Support/peel.1 b/Support/peel.1index 43361fe4..c8013cf9 100644--- a/Support/peel.1+++ b/Support/peel.1@@ -94,7 +94,7 @@ Show help information..It Em orphansList files left by apps that are no longer installed, and move a group to the Trash..Pp-Nothing here is ever suggested, so --remove takes the identifier of one group. What Peel refuses to move, what it leaves for you to choose in the app, and what needs administrator access, stays. What only an administrator can move is listed apart, with how to remove it in Finder.+Nothing here is selected for you, so --remove takes the identifier of one group. What Peel refuses to move, what it leaves for you to choose in the app, and what needs administrator access, stays. What only an administrator can move is listed apart, with how to remove it in Finder..Bl -tag -width 6n.It Ar groupThe group to move, as `peel orphans` names it in its first column.