mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1034] Bug: Unable to bulk delete links from the CLI #2157
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rickcecil on GitHub (Oct 1, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1034
Describe the bug
Unable to bulk delete links from the CLI using
archivebox remove --delete < links.txtSteps to reproduce
Using the CLI, run this command:
archivebox remove --delete < links.txtIt reads the list of links, warns that these items will be de-listed and deleted and then issues the prompt:
And rather than allowing me to select y or n, it drops back out to the cmd prompt.
Re-running the command indicates that these links have not been deleted.
I can delete individual links using
archivebox remove https://example.comI do get prompted if I want to delete the links and I can select y.
ArchiveBox version
@pirate commented on GitHub (Oct 27, 2022):
You can pass
--yesto auto-confirm that prompt. Stdin[y]wont work if you're passing a file via< stdin.@pirate commented on GitHub (Jun 13, 2023):
closing for now, comment back here if you still need help