Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 2, 2026

The entire 06_SCANS/INBOX/ directory was gitignored, preventing remote file access when SSH is unavailable.

Changes

Directory structure

  • Split INBOX into selective subdirectories:
    • new/ - gitignored (fresh scans)
    • to_trash/ - gitignored (archived content)
    • transfers/ - tracked by git (file sharing)

.gitignore refinement

-# Scans directory (temporary downloads)
-06_SCANS/INBOX/
+# Scans directory (temporary downloads - keep structure, ignore sensitive content)
+06_SCANS/INBOX/new/
+06_SCANS/INBOX/to_trash/
+# Allow transfers directory for file sharing without SSH
+!06_SCANS/INBOX/transfers/

Helper script

scripts/transfer_files.sh provides:

  • upload <file> - commits and pushes to transfers/
  • download - pulls and lists available files
  • cleanup - removes transferred files
  • Sanitizes filenames in commit messages
  • Cross-platform date formatting

Usage

./scripts/transfer_files.sh upload archive.zip
# On remote machine
./scripts/transfer_files.sh download
./scripts/transfer_files.sh cleanup

Security

  • Transfers directory tracked intentionally - only for non-sensitive files
  • Documentation emphasizes appropriate use cases
  • Existing sensitive scan workflows unchanged
Original prompt

I put the zip in INBOX, were not able to get it from here without SSH set up


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Set up SSH access for inbox folder Add transfers directory for file access without SSH Jan 2, 2026
Copilot AI requested a review from cyserman January 2, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants