From 0866b648e9a8293e1ad0a5ba0e07c545a353fd02 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:42:56 -0500 Subject: [PATCH] Restore s --- batch_files/ABC---Backup VM's.bat | 7 ++++ batch_files/Backup Videos.bat | 2 ++ batch_files/Downloads Backup.bat | 4 +++ batch_files/Education to education nas.bat | 8 +++++ batch_files/IT work .bat | 2 ++ batch_files/Map Drives.bat | 14 ++++++++ batch_files/Murder VM Backup.bat | 1 + .../Older Files/Backup with out purge.bat | 32 ++++++++++++++++++ batch_files/Older Files/Complete backup.ps1 | 19 +++++++++++ .../Older Files/Copy pic files only.txt | 4 +++ .../Devry local to USB and NAS.bat | 4 +++ batch_files/Older Files/Local to NAS1.bat | 7 ++++ batch_files/Older Files/Local to Rasp2.bat | 5 +++ .../Older Files/Local to nas1 it-work.bat | 16 +++++++++ .../Older Files/Local to rasp2 it-work.bat | 1 + batch_files/Older Files/Map Drives 1.bat | 13 +++++++ batch_files/Older Files/Map Drives.bat | 14 ++++++++ batch_files/Older Files/Mapped drives.ps1 | 8 +++++ .../Mapped drives.ps1 - Shortcut.lnk | Bin 0 -> 1083 bytes .../Older Files/Matts Network drives.bat | 3 ++ .../Older Files/NAS to local Backup.bat | 2 ++ .../Older Files/Old batch commands.txt | 15 ++++++++ batch_files/Pictures backup.bat | 7 ++++ batch_files/Skyrim Copy from Nas to Local.bat | 4 +++ batch_files/Skyrim Copy to nas.bat | 4 +++ batch_files/Sync Private Folders.bat | 11 ++++++ batch_files/Traver-desk VM Backup.bat | 1 + batch_files/coding and programming backup.bat | 1 + batch_files/familymedicalbackup.bat | 5 +++ reset_perms/reset_perms.sh | 0 30 files changed, 214 insertions(+) create mode 100644 batch_files/ABC---Backup VM's.bat create mode 100644 batch_files/Backup Videos.bat create mode 100644 batch_files/Downloads Backup.bat create mode 100644 batch_files/Education to education nas.bat create mode 100644 batch_files/IT work .bat create mode 100644 batch_files/Map Drives.bat create mode 100644 batch_files/Murder VM Backup.bat create mode 100644 batch_files/Older Files/Backup with out purge.bat create mode 100644 batch_files/Older Files/Complete backup.ps1 create mode 100644 batch_files/Older Files/Copy pic files only.txt create mode 100644 batch_files/Older Files/Devry local to USB and NAS.bat create mode 100644 batch_files/Older Files/Local to NAS1.bat create mode 100644 batch_files/Older Files/Local to Rasp2.bat create mode 100644 batch_files/Older Files/Local to nas1 it-work.bat create mode 100644 batch_files/Older Files/Local to rasp2 it-work.bat create mode 100644 batch_files/Older Files/Map Drives 1.bat create mode 100644 batch_files/Older Files/Map Drives.bat create mode 100644 batch_files/Older Files/Mapped drives.ps1 create mode 100644 batch_files/Older Files/Mapped drives.ps1 - Shortcut.lnk create mode 100644 batch_files/Older Files/Matts Network drives.bat create mode 100644 batch_files/Older Files/NAS to local Backup.bat create mode 100644 batch_files/Older Files/Old batch commands.txt create mode 100644 batch_files/Pictures backup.bat create mode 100644 batch_files/Skyrim Copy from Nas to Local.bat create mode 100644 batch_files/Skyrim Copy to nas.bat create mode 100644 batch_files/Sync Private Folders.bat create mode 100644 batch_files/Traver-desk VM Backup.bat create mode 100644 batch_files/coding and programming backup.bat create mode 100644 batch_files/familymedicalbackup.bat create mode 100644 reset_perms/reset_perms.sh diff --git a/batch_files/ABC---Backup VM's.bat b/batch_files/ABC---Backup VM's.bat new file mode 100644 index 0000000..4213323 --- /dev/null +++ b/batch_files/ABC---Backup VM's.bat @@ -0,0 +1,7 @@ +net use w: \\nas\public +net use s: \\nas\downloadedmedia +net use r: \\nas\downloads + + + +robocopy C:\Users\trave\Downloads\VMs \\nas\public\vm\abcwhyme /z /s /r:2 /w:2 /copy:dt /purge /compress diff --git a/batch_files/Backup Videos.bat b/batch_files/Backup Videos.bat new file mode 100644 index 0000000..06fdc9b --- /dev/null +++ b/batch_files/Backup Videos.bat @@ -0,0 +1,2 @@ +robocopy C:\Users\trave\Videos\ "\\nas\public\Traver's Personal\produced_videos" /z /s /r:2 /copy:dt /w:2 /purge +robocopy "\\nas\public\Traver's Personal\produced_videos" C:\Users\trave\Videos\ /z /s /r:2 /copy:dt /w:2 \ No newline at end of file diff --git a/batch_files/Downloads Backup.bat b/batch_files/Downloads Backup.bat new file mode 100644 index 0000000..212bc6e --- /dev/null +++ b/batch_files/Downloads Backup.bat @@ -0,0 +1,4 @@ +robocopy C:\Users\trave\Downloads \\NAS\public\downloads /z /s /r:2 /w:3 /copy:d /XD "C:\Users\trave\Downloads\VMs" /xf *.jpg /xf *.iso /xf *.png /xf *.jpeg /xf *.docx /xf *.pdf + +robocopy d:\Downloads \\NAS\public\downloads /z /s /r:2 /w:3 /copy:d /XD "C:\Users\trave\Downloads\VMs" /xf *.jpg /xf *.iso /xf *.png /xf *.jpeg /xf *.docx /xf *.pdf + diff --git a/batch_files/Education to education nas.bat b/batch_files/Education to education nas.bat new file mode 100644 index 0000000..feebe95 --- /dev/null +++ b/batch_files/Education to education nas.bat @@ -0,0 +1,8 @@ +# onedrive personal to Network NAS copy all. +robocopy C:\Users\Traver\OneDrive\Education \\NAS\public\education /z /s /r:2 /w:2 /copy:dt +robocopy C:\Users\Trave\OneDrive\Education \\NAS\public\education /z /s /r:2 /w:2 /copy:dt +robocopy C:\Users\Traver\OneDrive\Education "G:\My Drive\Education" /z /s /r:2 /w:2 /copy:dt +robocopy C:\Users\Trave\OneDrive\Education "G:\My Drive\Education" /z /s /r:2 /w:2 /copy:dt +## robocopy "G:\My Drive\Education" C:\Users\Trave\OneDrive\Education /z /s /r:2 /w:2 /copy:dt + + diff --git a/batch_files/IT work .bat b/batch_files/IT work .bat new file mode 100644 index 0000000..9338874 --- /dev/null +++ b/batch_files/IT work .bat @@ -0,0 +1,2 @@ +robocopy "C:\Users\trave\OneDrive\IT Work" \\nas\public\ITWork /z /s /r:2 /w:2 /copy:dt /purge +robocopy \\nas\public\ITWork "C:\Users\trave\OneDrive\IT Work" /z /s /r:2 /w:2 /copy:dt \ No newline at end of file diff --git a/batch_files/Map Drives.bat b/batch_files/Map Drives.bat new file mode 100644 index 0000000..063cab8 --- /dev/null +++ b/batch_files/Map Drives.bat @@ -0,0 +1,14 @@ +net use z: /delete +net use y: /delete +net use x: /delete +net use w: /delete +net use v: /delete +net use u: /delete +net use v: /delete +net use t: /delete +net use r: /delete +net use s: /delete + +net use w: \\nas\public +net use s: \\nas\downloadedmedia +net use r: \\nas\downloads \ No newline at end of file diff --git a/batch_files/Murder VM Backup.bat b/batch_files/Murder VM Backup.bat new file mode 100644 index 0000000..3f4e72e --- /dev/null +++ b/batch_files/Murder VM Backup.bat @@ -0,0 +1 @@ +robocopy C:\Users\trave\Downloads\vms \\nas\public\vm\murder23 /r:2 /w:2 /purge \ No newline at end of file diff --git a/batch_files/Older Files/Backup with out purge.bat b/batch_files/Older Files/Backup with out purge.bat new file mode 100644 index 0000000..230b484 --- /dev/null +++ b/batch_files/Older Files/Backup with out purge.bat @@ -0,0 +1,32 @@ +net use w: \\nas\public +net use x: \\nas\devry +net use y: \\nas\docker +net use z: \\nas\downloads +net use u: \\nas\AudioBooks +net use t: \\nas\Personal +net use s: \\nas\downloadedmedia +net use r: \\nas\vm + +robocopy C:\Users\trave\OneDrive\Ark "d:\nas1public\Ark" /z /s /r:2 /w:3 /copy:dts /purge +robocopy C:\Users\trave\OneDrive\Documents d:\nas1public\documents /z /s /r:2 /w:2 /copy:dts +robocopy "C:\Users\trave\OneDrive\Family Health Docs" d:\nas1public\FamilyHealthDocs /z /s /r:2 /w:3 /copy:dts +robocopy C:\Users\trave\OneDrive\Devry D:\nas1devry /z /s /r:2 /w:2 /copy:dts /purge +robocopy C:\Users\trave\OneDrive\Desktop d:\nas1public\desktop /z /s /r:2 /w:2 /copy:dts /purge +robocopy C:\Users\trave\Downloads d:\nas1public\Downloads /z /s /r:2 /w:3 /copy:dts /XD "C:\Users\trave\Downloads\VMs" +robocopy "C:\Users\trave\OneDrive\IT Work" d:\nas1public\ITWork /z /s /r:2 /w:2 /copy:dts /purge +robocopy C:\Users\trave\Downloads\VMs d:\vms /z /s /r:2 /w:3 /copy:dts + +robocopy C:\Users\trave\Downloads\VMs \\nas\vm /z /s /r:2 /w:2 /copy:dts +robocopy C:\Users\trave\OneDrive\Ark \\NAS\public\Ark /z /s /r:2 /w:3 /copy:dts /purge +robocopy C:\Users\trave\OneDrive\Documents \\NAS\public\documents /z /s /r:2 /copy:dts /w:2 +robocopy "C:\Users\trave\OneDrive\Family Health Docs" \\NAS\public\FamilyHealthDocs /z /copy:dts /s /r:2 /w:3 /purge +robocopy C:\Users\trave\OneDrive\Devry \\NAS\devry /z /s /r:2 /w:2 /copy:dts /purge +robocopy C:\Users\trave\OneDrive\Desktop \\NAS\public\desktop /z /s /r:2 /w:2 /copy:dts /purge +robocopy "C:\Users\trave\OneDrive\IT Work" \\nas\public\ITWork /z /s /r:2 /copy:dts /w:2 /purge +robocopy C:\Users\trave\OneDrive\Documents\Docker \\NAS\docker /z /s /r:2 /w:3 /copy:dts /purge + +robocopy C:\Users\trave\Videos\ \\nas\personal\videos /z /s /r:2 /copy:dts /w:2 /purge + +robocopy C:\Users\trave\Downloads \\NAS\public\downloads /z /s /r:2 /w:3 /copy:dts /XD "C:\Users\trave\Downloads\VMs" +robocopy \\NAS\public d:\nas1public /z /s /r:2 /w:3 /copy:dts /purge +robocopy \\nas\vm d:\vms /z /s /r:2 /w:3 /copy:dts /purge diff --git a/batch_files/Older Files/Complete backup.ps1 b/batch_files/Older Files/Complete backup.ps1 new file mode 100644 index 0000000..11b4342 --- /dev/null +++ b/batch_files/Older Files/Complete backup.ps1 @@ -0,0 +1,19 @@ +net use w: \\nas\public +net use s: \\nas\downloadedmedia +net use z: \\nas\quarantine +net use x: \\nas\samantha-personal +net use u: \\nas\traver-personal +net use t: \\nas\VM-proxmox +net use r: \\nas\downloads +net use v: \\nas\vm-shared + +robocopy C:\Users\trave\Downloads \\NAS\public\downloads /z /s /r:2 /w:3 /copy:dt /XD "C:\Users\trave\Downloads\VMs" /xf *.jpg /xf *.iso + +robocopy "C:\Users\trave\OneDrive\IT Work" \\nas\public\ITWork /z /s /r:2 /w:2 /copy:dt /purge +#robocopy C:\Users\trave\OneDrive\education \\NAS\public\education /z /s /r:2 /w:2 /copy:dt /purge +#robocopy "C:\Users\trave\Pictures" "W:\Traver's Personal\Photos" /z /s /r:2 /w:3 /copy:dt +robocopy "C:\Users\trave\Videos" "W:\Traver's Personal\videos" /z /s /r:2 /w:3 /copy:dt + + +robocopy C:\Users\trave\Downloads\VMs \\nas\public\vm\abcwhyme /z /s /r:2 /w:2 /copy:dt /purge +robocopy e:\vms \\nas\public\vm\murder23 /z /s /r:2 /w:2 /copy:dt /purge \ No newline at end of file diff --git a/batch_files/Older Files/Copy pic files only.txt b/batch_files/Older Files/Copy pic files only.txt new file mode 100644 index 0000000..c6d898c --- /dev/null +++ b/batch_files/Older Files/Copy pic files only.txt @@ -0,0 +1,4 @@ +robocopy C:\Users\trave\Downloads\*.jpeg "\\NAS\public\Traver's Personal\Downloaded pictures" /z /s /r:2 /w:3 /copy:dt /XD "C:\Users\trave\Downloads\VMs" +robocopy C:\Users\trave\Downloads\*.gif "\\NAS\public\Traver's Personal\Downloaded pictures\*.gif" /z /s /r:2 /w:3 /copy:dt /XD "C:\Users\trave\Downloads\VMs" +robocopy C:\Users\trave\Downloads\*.jpg "\\NAS\public\Traver's Personal\Downloaded pictures\*.jpg" /z /s /r:2 /w:3 /copy:dt /XD "C:\Users\trave\Downloads\VMs" +robocopy C:\Users\trave\Downloads\*.png "\\NAS\public\Traver's Personal\Downloaded pictures\*.png" /z /s /r:2 /w:3 /copy:dt /XD "C:\Users\trave\Downloads\VMs" \ No newline at end of file diff --git a/batch_files/Older Files/Devry local to USB and NAS.bat b/batch_files/Older Files/Devry local to USB and NAS.bat new file mode 100644 index 0000000..5032b0a --- /dev/null +++ b/batch_files/Older Files/Devry local to USB and NAS.bat @@ -0,0 +1,4 @@ + +robocopy C:\Users\trave\OneDrive\Devry \\rasp2\share\nas1devry /z /s /r:2 /w:2 /copy:dt /purge + +robocopy C:\Users\trave\OneDrive\Devry D:\nas1devry /z /s /r:2 /w:2 /copy:dt /purge \ No newline at end of file diff --git a/batch_files/Older Files/Local to NAS1.bat b/batch_files/Older Files/Local to NAS1.bat new file mode 100644 index 0000000..b8f0661 --- /dev/null +++ b/batch_files/Older Files/Local to NAS1.bat @@ -0,0 +1,7 @@ + +robocopy C:\Users\trave\OneDrive\Devry \\nas1\devry /z /s /r:2 /w:2 /copy:dt /purge +robocopy C:\Users\trave\OneDrive\Ark \\nas1\public\Ark /z /s /r:2 /w:3 /purge /copy:dt /purge +robocopy C:\Users\trave\OneDrive\Documents \\nas1\public\documents /z /s /r:2 /w:2 /copy:dt /purge +robocopy "C:\Users\trave\OneDrive\Family Health Docs" \\nas1\public\FamilyHealthDocs /z /s /r:2 /w:3 /copy:dt /purge +robocopy C:\Users\trave\OneDrive\Desktop \\nas1\public\desktop /z /s /r:2 /w:2 /copy:dt /purge +robocopy C:\Users\trave\Downloads \\nas1\public\downloads /z /s /r:2 /w:3 /copy:dt \ No newline at end of file diff --git a/batch_files/Older Files/Local to Rasp2.bat b/batch_files/Older Files/Local to Rasp2.bat new file mode 100644 index 0000000..beb9fc6 --- /dev/null +++ b/batch_files/Older Files/Local to Rasp2.bat @@ -0,0 +1,5 @@ +robocopy C:\Users\trave\Downloads \\RASP2\share\nas1public\downloads /z /s /r:2 /w:3 /copy:dt +robocopy C:\Users\trave\OneDrive\Devry \\RASP2\share\nas1devry /z /s /r:2 /w:2 /copy:dt /purge +robocopy C:\Users\trave\OneDrive\Ark \\RASP2\share\nas1public\Ark /z /s /r:2 /w:3 /purge /copy:dt /purge +robocopy C:\Users\trave\OneDrive\Documents \\RASP2\share\nas1public\documents /z /s /r:2 /w:2 /copy:dt /purge +robocopy "C:\Users\trave\OneDrive\Family Health Docs" \\RASP2\share\nas1public\FamilyHealthDocs /z /s /r:2 /w:3 /copy:dt /purge diff --git a/batch_files/Older Files/Local to nas1 it-work.bat b/batch_files/Older Files/Local to nas1 it-work.bat new file mode 100644 index 0000000..37909f0 --- /dev/null +++ b/batch_files/Older Files/Local to nas1 it-work.bat @@ -0,0 +1,16 @@ +net use z: /delete +net use y: /delete +net use x: /delete +net use w: /delete +net use v: /delete +net use u: /delete +net use v: /delete +net use t: /delete + + +net use y: \\nas1\public +net use x: \\nas1\devry +net use z: \\nas1\docker +net use w: \\rasp2\share + +robocopy "C:\Users\trave\OneDrive\IT Work" \\nas1\public\it-work /z /s /r:2 /w:3 /copy:dt diff --git a/batch_files/Older Files/Local to rasp2 it-work.bat b/batch_files/Older Files/Local to rasp2 it-work.bat new file mode 100644 index 0000000..39cbabb --- /dev/null +++ b/batch_files/Older Files/Local to rasp2 it-work.bat @@ -0,0 +1 @@ +robocopy "C:\Users\trave\OneDrive\IT Work" \\RASP2\share\nas1public\it-work /s /z /r:2 /w:3 /copy:dt \ No newline at end of file diff --git a/batch_files/Older Files/Map Drives 1.bat b/batch_files/Older Files/Map Drives 1.bat new file mode 100644 index 0000000..af3a0bc --- /dev/null +++ b/batch_files/Older Files/Map Drives 1.bat @@ -0,0 +1,13 @@ +net use z: /delete +net use y: /delete +net use x: /delete +net use w: /delete +net use v: /delete +net use u: /delete +net use v: /delete +net use t: /delete +net use r: /delete + + +net use w: \\nas\public +net use s: \\nas\downloadedmedia diff --git a/batch_files/Older Files/Map Drives.bat b/batch_files/Older Files/Map Drives.bat new file mode 100644 index 0000000..1a3c0bd --- /dev/null +++ b/batch_files/Older Files/Map Drives.bat @@ -0,0 +1,14 @@ +net use z: /delete +net use y: /delete +net use x: /delete +net use w: /delete +net use v: /delete +net use u: /delete +net use v: /delete +net use t: /delete + + +net use y: \\nas1\public +net use x: \\nas1\devry +net use z: \\nas1\docker +net use w: \\rasp2\share \ No newline at end of file diff --git a/batch_files/Older Files/Mapped drives.ps1 b/batch_files/Older Files/Mapped drives.ps1 new file mode 100644 index 0000000..377a673 --- /dev/null +++ b/batch_files/Older Files/Mapped drives.ps1 @@ -0,0 +1,8 @@ +net use w: \\nas\public +net use s: \\nas\downloadedmedia +net use z: \\nas\quarantine +net use x: \\nas\samantha-personal +net use u: \\nas\traver-personal +net use t: \\nas\VM-proxmox +net use r: \\nas\downloads +net use v: \\nas\vm-shared \ No newline at end of file diff --git a/batch_files/Older Files/Mapped drives.ps1 - Shortcut.lnk b/batch_files/Older Files/Mapped drives.ps1 - Shortcut.lnk new file mode 100644 index 0000000000000000000000000000000000000000..48c6fa18d35913c09d5bb5875aa5d9f5ef8a1675 GIT binary patch literal 1083 zcma)4T}YEr7=AvRHft^=F%8QPF`;O)C1gp3`(+o7jW$==7i_t&P3F(oxBNqdsE{D3 zn}jkXB#17ABE1Mos*Ah|qKne2Ai^$6?B~j>dd|0LB2t}?_q^|U&U@bHd(L^A0Z65J zoPp>149^&hkZA)irUr{{&q?wEo-I|)ONhTre(0Z*ma}<~a(=~`^BPfQKd+2P_3q8i zv0%0D<6_l9E%R!zG-G4hmtXZiO{};)YjRHn=B0@TZ`H5#r5J+P2jby`xy0a7wPdC{ zg#-#=;Mwn?zMJvzY^#+SpRbp3&KJqp8NrR?dQ|Z(1Q%3jNFsx7q=+_gl_1u^uO0_s zMNE(P!@`vf4LF1&%qt_BWsiohqS)ZDhn!x|5Fzg>|19}U5y3w?Ep%tK3w|y*wrF*d z15t9fkyC~T?W`*P2PlV$^IqyOGG5_Q!oyFB4gO}A`@}k~z-T<&V-{Rjwu+Zo&z0Y| zPx7-)jP=uh5Tv%y8f`V<*4={dvd)+7hCkZ40Ux!c z_^D)-X=&=~(e+u0YWn?EuF+Y^GvhSjH|4yA{xIz2?OWj!_)ZOj|0IoK zrc!E5j)`Q=n$m38&VEq-LstWwXk=y!Rf_x87-#6Cx_$+IbP;#0-iWfU4;5_O7vkhb zZy2Fs-pt)oS?P$LYwJz)cdEH13Z`D~7-$0Ccj{@VNIKS*VcpMd#asf#9REPS@l}%6s42WW9H+@7gZn2|?zi)%cSKKK;-