Skip to content

Conversation

buildplan
Copy link
Owner

No description provided.

@buildplan buildplan requested a review from Copilot October 8, 2025 12:00
@buildplan buildplan self-assigned this Oct 8, 2025
@buildplan buildplan added the enhancement New feature or request label Oct 8, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new --ls command-line flag to display the contents of specific snapshots in the restic backup script. The feature provides a convenient way to inspect snapshot contents without performing a restore operation.

  • Added --ls flag functionality with snapshot ID and optional path filtering
  • Updated help documentation and examples to include the new feature
  • Minor code cleanup removing extra whitespace and simplifying comments

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
restic-backup.sh Added run_ls() function, help text updates, case statement handling, and minor code cleanup
restic-backup.sh.sha256 Updated SHA256 hash to reflect script changes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@buildplan buildplan changed the title ls flag added to display the contents of the snapshot added a new --ls command-line flag to display the contents of specific snapshots Oct 8, 2025
@buildplan buildplan merged commit a5761b8 into main Oct 8, 2025
4 checks passed
@buildplan buildplan deleted the ls_flag branch October 8, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant