im smokin these drugs like i smoke your dads gock

This commit is contained in:
2025-12-21 15:23:57 -07:00
parent dba0f98844
commit ffce4d7cac
2 changed files with 49 additions and 8 deletions
+8 -8
View File
@@ -19,10 +19,10 @@ Write-Host "`nChanging directory to $media_viewer_dir`n"
Set-Location "$media_viewer_dir"
# get da synciedink
Write-Host "`nSyncing`n"
gitsync
Write-Host "`nSyncing Again`n"
gitsync
# Write-Host "`nSyncing`n"
# gitsync
# Write-Host "`nSyncing Again`n"
# gitsync
# do da synchiedink
Write-Host "`nDoing the syncy dink`n"
@@ -62,9 +62,9 @@ Write-Host "`nCopying media to local sillyfilly`n"
wsl bash $media_viewer_dir_wsl/copy_local_wsl.sh
# do more sync at enddy to maek syre it goodywoo
Write-Host "`nSyncing finaly`n"
gitsync
Write-Host "`nSyncing finaly again`n"
gitsync
# Write-Host "`nSyncing finaly`n"
# gitsync
# Write-Host "`nSyncing finaly again`n"
# gitsync
Write-Host "`naahm done bein a sillyfilly fro noew`n"
+41
View File
@@ -0,0 +1,41 @@
#!/bin/bash
# usage
# # dry run is default without args
# sync_dildo_repos.sh
# # any arg in $1 place sends it
# sync_dildo_repos.sh true
if [ -z "$1" ]; then
dry_run=true
else
dry_run=false
fi
# MY SILLYFILLY HAPPY REPONIES
master_repo="/mnt/c/Users/human/OneDrive/Documents/Git/Media-Viewer"
pi_repo="pi3:/var/www/html/Media-Viewer"
local_www_repo="/var/www/html/Media-Viewer"
echo -e "\nsyncing master repo to local www wsl repo\n"
if $dry_run; then # dry run mode
echo -e "\nSELECTED MODE DRY RUN\n"
# local www wsl
echo -e "\nLOCAL WWWW WSL REPO (DRY RUN)\n"
rsync -avz --exclude='files/' --delete --dry-run "$master_repo" "$local_www_repo"
# remote pi3 repo
echo -e "\nREMOTE PI3 REPO (DRY RUN)\n"
rsync -avz --exclude='files/' --delete --dry-run "$master_repo" "$local_www_repo"
else
echo -e "\nREMOTE PI5 REEPO (DRY RUN)\n"
# local www wsl
echo -e "\nLOCAL WWWW WSL REPO (LIVE!)\n"
rsync -az --exclude='files/' --delete "$master_repo" "$local_www_repo"
# remote pi3/pi5-usb-2
echo -e "\nREMOTE PI5 REEPO (LIVE!)\n"
rsync -az --exclude='files/' --delete "$master_repo" "$local_www_repo"
fi