Files
Jarvis 1f2c919f56 fix: complete shellcheck fixes
- Fix CRLF line endings (SC1017) in 10 shell scripts
- Add shebangs (SC2148) to 5 scripts missing them
- Fix unquoted variables (SC2086) in kali-updates.sh
- Add shellcheck disable directive for intentional eval usage
- Fix missing space after ! in observium/custom_install.sh
- Add security scan reports to .gitignore-safe location
2026-09-04 13:48:56 -05:00
..

redirecting-desktop_and_documents

Overview

Script to redirect Windows Desktop and Documents folders to OneDrive.


Files

File Description
redirectfiles.sh Redirect Desktop/Documents to OneDrive

Usage

Run as Administrator on Windows:

# Double-click or run from Command Prompt
redirectfiles.sh

What It Does

  1. Creates backup of existing folders
  2. Creates symbolic links to OneDrive equivalents
  3. Moves existing content to OneDrive

Prerequisites

  • OneDrive must be installed and configured
  • Desktop/Documents must not be in cloud sync yet
  • Run as Administrator

Safety

  • Creates backups: ~/Desktop.backup, ~/Documents.backup
  • If symlinks already exist, skips the operation
  • Test on a non-critical folder first