Skip to content

Instantly share code, notes, and snippets.

View agtkh's full-sized avatar

K.Agata agtkh

  • Shizuoka University
  • Japan
View GitHub Profile
#!/bin/bash
# This script copies a file from a source base to a destination base,
# preserving the relative directory structure.
# It assumes the input argument is a path RELATIVE to the SRC_BASE.
# --- Configuration ---
SRC_BASE="/media/sd_old/"
DEST_BASE="/media/sd_new/"
alert();