DILDO DEPLOYED
This commit is contained in:
@@ -1,22 +1,22 @@
|
|||||||
# usage
|
# usage
|
||||||
## sync_media [NUKE]
|
## sync_media [NUKE]
|
||||||
|
|
||||||
$media_viewer_dir="C:\Users\human\OneDrive\Documents\Git\Media-Viewer"
|
# $media_viewer_dir="C:\Users\human\OneDrive\Documents\Git\Media-Viewer"
|
||||||
$media_viewer_dir_wsl="/mnt/c/Users/human/OneDrive/Documents/Git/Media-Viewer"
|
$media_viewer_dir_wsl="/mnt/c/Users/human/OneDrive/Documents/Git/Media-Viewer"
|
||||||
|
|
||||||
# select for nuke mode
|
# select for nuke mode
|
||||||
if($args[0] -eq "NUKE") {
|
# if($args[0] -eq "NUKE") {
|
||||||
Write-Host "`nNUKE MODE ACTIVATED`n"
|
# Write-Host "`nNUKE MODE ACTIVATED`n"
|
||||||
$nuke = $True
|
# $nuke = $True
|
||||||
} else {
|
# } else {
|
||||||
Write-Host "`nNormal Mode Activated`n"
|
# Write-Host "`nNormal Mode Activated`n"
|
||||||
$nuke = $False
|
# $nuke = $False
|
||||||
}
|
# }
|
||||||
|
|
||||||
Write-Host "`nSillyfillyy synching media loleen`n"
|
Write-Host "`nSillyfillyy synching media loleen`n"
|
||||||
|
|
||||||
Write-Host "`nChanging directory to $media_viewer_dir`n"
|
# Write-Host "`nChanging directory to $media_viewer_dir`n"
|
||||||
Set-Location "$media_viewer_dir"
|
# Set-Location "$media_viewer_dir"
|
||||||
|
|
||||||
# get da synciedink
|
# get da synciedink
|
||||||
# Write-Host "`nSyncing`n"
|
# Write-Host "`nSyncing`n"
|
||||||
@@ -25,19 +25,24 @@ Set-Location "$media_viewer_dir"
|
|||||||
# gitsync
|
# gitsync
|
||||||
|
|
||||||
# do da synchiedink
|
# do da synchiedink
|
||||||
Write-Host "`nDoing the syncy dink`n"
|
Write-Host "`n`bPERFORMING THE DILDOSYNC`n`n"
|
||||||
# wsl -d kali-wsl "\$(whoami) \$(uname -a)" # debug
|
# wsl bash $media_viewer_dir_wsl/copy_local_wsl.sh
|
||||||
if($nuke) {
|
wsl bash $media_viewer_dir_wsl/dildo_new_full_sync_total.sh
|
||||||
Write-Host "`nNUKING media loleen sync`n"
|
Write-Host "`n`nDILDOSYNC COMPLETE`n`tMAY GOD HAVE MERCY ON YOUR SOUL`n`n"
|
||||||
wsl bash $media_viewer_dir_wsl/full_sync_normalization_wsl.sh byfn
|
|
||||||
} else {
|
# Write-Host "`nDoing the syncy dink`n"
|
||||||
Write-Host "`nNormal media loleen sync`n"
|
# # wsl -d kali-wsl "\$(whoami) \$(uname -a)" # debug
|
||||||
wsl bash $media_viewer_dir_wsl/full_sync_normalization_wsl.sh byf
|
# if($nuke) {
|
||||||
}
|
# Write-Host "`nNUKING media loleen sync`n"
|
||||||
|
# wsl bash $media_viewer_dir_wsl/full_sync_normalization_wsl.sh byfn
|
||||||
|
# } else {
|
||||||
|
# Write-Host "`nNormal media loleen sync`n"
|
||||||
|
# wsl bash $media_viewer_dir_wsl/full_sync_normalization_wsl.sh byf
|
||||||
|
# }
|
||||||
|
|
||||||
# normieize media
|
# normieize media
|
||||||
Write-Host "`nNormalizing favorites`n"
|
# Write-Host "`nNormalizing favorites`n"
|
||||||
ssh pi3 "bash /var/www/html/Media-Viewer/normalize_favorites.sh"
|
# ssh pi3 "bash /var/www/html/Media-Viewer/normalize_favorites.sh"
|
||||||
|
|
||||||
# remote esp-idf
|
# remote esp-idf
|
||||||
Write-Host "`nRunning esp-idf-tools update`n"
|
Write-Host "`nRunning esp-idf-tools update`n"
|
||||||
@@ -50,18 +55,14 @@ if($nuke) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# reboot pi3 to apply updates
|
# reboot pi3 to apply updates
|
||||||
if($nuke) {
|
# if($nuke) {
|
||||||
Write-Host "`nNUKING reboot of pi3 to apply updates`n"
|
# Write-Host "`nNUKING reboot of pi3 to apply updates`n"
|
||||||
ssh pi3 "sudo shutdown -r +10 'Rebooting in 10 minutes to apply updates'"
|
# ssh pi3 "sudo shutdown -r +10 'Rebooting in 10 minutes to apply updates'"
|
||||||
} else {
|
# } else {
|
||||||
Write-Host "`nSkipping remote reboot`n"
|
# Write-Host "`nSkipping remote reboot`n"
|
||||||
}
|
# }
|
||||||
|
|
||||||
# copy to localsilly
|
# copy to localsilly
|
||||||
Write-Host "`nCopying media to local sillyfilly`n"
|
|
||||||
# wsl bash $media_viewer_dir_wsl/copy_local_wsl.sh
|
|
||||||
wsl bash $media_viewer_dir_wsl/dildo_new_full_sync_total.sh
|
|
||||||
|
|
||||||
# do more sync at enddy to maek syre it goodywoo
|
# do more sync at enddy to maek syre it goodywoo
|
||||||
# Write-Host "`nSyncing finaly`n"
|
# Write-Host "`nSyncing finaly`n"
|
||||||
# gitsync
|
# gitsync
|
||||||
|
|||||||
Reference in New Issue
Block a user