Update Submodules & HDD Rsync Scrip
- Update doom emacs, doom eamcs config, dwm, and dracula-gtk submodules - Update `rsync_laptop_to_external_hdd.sh` to use new path to HDD and re-order the folders that get synced
This commit is contained in:
Submodule .config/doom-emacs updated: b06fd63dcb...12bf6baa21
Submodule .config/doom-emacs-config updated: be2af81c73...7b38c5ab88
Submodule .config/dwm-flexipatch updated: 05175768cc...e55861f8a2
@@ -1,11 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Define base paths
|
||||
external_hdd_path="/run/media/sravan/Seagate 5TB"
|
||||
external_hdd_path="/run/media/sravan/5TB_HDD"
|
||||
backup_path="$external_hdd_path/Backups"
|
||||
home_path="/home/sravan"
|
||||
|
||||
# Define arrays
|
||||
declare -a source_dirs=(
|
||||
"$home_path/.config/lutris/"
|
||||
"$home_path/.config/dolphin-emu/"
|
||||
"$home_path/.config/retroarch/"
|
||||
"$home_path/.config/rpcs3/"
|
||||
"$home_path/.config/PCSX2/"
|
||||
"$home_path/.cache/lutris/"
|
||||
"$home_path/Calibre_Library/"
|
||||
"$home_path/ISOs/"
|
||||
"$home_path/Manga/"
|
||||
@@ -13,14 +19,14 @@ declare -a source_dirs=(
|
||||
"$home_path/Pictures/"
|
||||
"$home_path/Videos/"
|
||||
"$home_path/Games/"
|
||||
"$home_path/.config/lutris/"
|
||||
"$home_path/.config/dolphin-emu/"
|
||||
"$home_path/.config/retroarch/"
|
||||
"$home_path/.config/rpcs3/"
|
||||
"$home_path/.config/PCSX2/"
|
||||
"$home_path/.cache/lutris/"
|
||||
)
|
||||
declare -a target_dirs=(
|
||||
"$backup_path/.config/lutris/"
|
||||
"$backup_path/.config/dolphin-emu/"
|
||||
"$backup_path/.config/retroarch/"
|
||||
"$backup_path/.config/rpcs3/"
|
||||
"$backup_path/.config/PCSX2/"
|
||||
"$backup_path/.cache/lutris/"
|
||||
"$backup_path/Calibre_Library/"
|
||||
"$backup_path/ISOs/"
|
||||
"$backup_path/Manga/"
|
||||
@@ -28,12 +34,6 @@ declare -a target_dirs=(
|
||||
"$backup_path/Pictures/"
|
||||
"$backup_path/Videos/"
|
||||
"$backup_path/Games/"
|
||||
"$backup_path/.config/lutris/"
|
||||
"$backup_path/.config/dolphin-emu/"
|
||||
"$backup_path/.config/retroarch/"
|
||||
"$backup_path/.config/rpcs3/"
|
||||
"$backup_path/.config/PCSX2/"
|
||||
"$backup_path/.cache/lutris/"
|
||||
)
|
||||
|
||||
# Loop through arrays
|
||||
|
Submodule .themes/dracula-gtk updated: 43da99c96f...3b41a66aa2
26
README.org
26
README.org
@@ -8452,12 +8452,18 @@ done
|
||||
|
||||
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/rsync_laptop_to_external_hdd.sh
|
||||
# Define base paths
|
||||
external_hdd_path="/run/media/sravan/Seagate 5TB"
|
||||
external_hdd_path="/run/media/sravan/5TB_HDD"
|
||||
backup_path="$external_hdd_path/Backups"
|
||||
home_path="/home/sravan"
|
||||
|
||||
# Define arrays
|
||||
declare -a source_dirs=(
|
||||
"$home_path/.config/lutris/"
|
||||
"$home_path/.config/dolphin-emu/"
|
||||
"$home_path/.config/retroarch/"
|
||||
"$home_path/.config/rpcs3/"
|
||||
"$home_path/.config/PCSX2/"
|
||||
"$home_path/.cache/lutris/"
|
||||
"$home_path/Calibre_Library/"
|
||||
"$home_path/ISOs/"
|
||||
"$home_path/Manga/"
|
||||
@@ -8465,14 +8471,14 @@ declare -a source_dirs=(
|
||||
"$home_path/Pictures/"
|
||||
"$home_path/Videos/"
|
||||
"$home_path/Games/"
|
||||
"$home_path/.config/lutris/"
|
||||
"$home_path/.config/dolphin-emu/"
|
||||
"$home_path/.config/retroarch/"
|
||||
"$home_path/.config/rpcs3/"
|
||||
"$home_path/.config/PCSX2/"
|
||||
"$home_path/.cache/lutris/"
|
||||
)
|
||||
declare -a target_dirs=(
|
||||
"$backup_path/.config/lutris/"
|
||||
"$backup_path/.config/dolphin-emu/"
|
||||
"$backup_path/.config/retroarch/"
|
||||
"$backup_path/.config/rpcs3/"
|
||||
"$backup_path/.config/PCSX2/"
|
||||
"$backup_path/.cache/lutris/"
|
||||
"$backup_path/Calibre_Library/"
|
||||
"$backup_path/ISOs/"
|
||||
"$backup_path/Manga/"
|
||||
@@ -8480,12 +8486,6 @@ declare -a target_dirs=(
|
||||
"$backup_path/Pictures/"
|
||||
"$backup_path/Videos/"
|
||||
"$backup_path/Games/"
|
||||
"$backup_path/.config/lutris/"
|
||||
"$backup_path/.config/dolphin-emu/"
|
||||
"$backup_path/.config/retroarch/"
|
||||
"$backup_path/.config/rpcs3/"
|
||||
"$backup_path/.config/PCSX2/"
|
||||
"$backup_path/.cache/lutris/"
|
||||
)
|
||||
|
||||
# Loop through arrays
|
||||
|
Reference in New Issue
Block a user