I have a small video production company and a bottleneck we’re having is with regards to file backup.
What happens: weekly I ask my collaborators to backup their SSD’s on our central computer, this computer has a shared Backup Folder
on the LAN.
How this backup is done nowadays: The contributor copies all the folders from the root of his SSD to the folder with his name located inside the Backup folder central computer and asks to replace everything.
Yeah, that’s not optimized at all…
The structure of employee SSDs: Every employee has an M.2 SSD, the device name always follows this rule "Company Name - Employee Name"
Backup folder structure on the central computer: Backup folder path is \\192.168.0.130\Backup\Employee Name
What I would like to do: I would like to create a script that follows some rules to copy the files to the backup folder.
Rules:
Copy all files from that storage unit, but only replace files with the extension .pr
, .ae
, .psd
, .psb
, .ai
Path to copy files:
\\192.168.0.130\Backup\GET-THE-NAME-OF-THE-STORAGE-UNIT-EMPLOYEE
For example, if the drive is called "Company Name - Aaron Trevor"
, copy the files to the "Aaron Trevor"
folder inside the Backup Folder
on the central computer.
The idea is that this executable script is at the root of every M.2 SSD.
What’s the best way to do this?
I have a very basic knowledge in the area of programming, so what came to my mind at first was to create this script in a notepad and run it as Powershell or Batch file, but I don’t know if it’s the best way and I don’t have enough knowledge to craft this code myself
If anyone can help me, I will be very grateful, it will help a lot in everyday life.
I ask that the explanation be as detailed as possible, as I said, I have little knowledge in the area, but I want to evolve and create other things from it.