Hello all,
I know this is strictly not a Kodi question but as I managed to deleted a massive bunch of data from my data source am thinking that others may have done the same and been in my boat.
I have a Win 7 box which I use as my primary storage and my Kodi device accesses over SMB.
I was running a cleanup of data with ember media manager and I managed to deleted every single trailer file for my movies.
To a degree and luckily I use robocopy to mirror my files to another Win 7 box. So for the moment they are safe and sound there.
This robocopy was created in case of a major melt down or if the primary Win 7 box or drives failed and I never thought I’d be an idiot an delete and whole bunch of data from each move folder.
My folder structure is like this on the primary Win 7 box
E:\StreamFiles\Movies\Movies\12 Angry Men (1957)
E:\StreamFiles\Movies\Movies\30 Minutes or Less (2011)
I map the primary Win 7 E: as S: on my backup Win 7 box and run this command on the backup box
robocopy “S:” “E:\StreamFiles” /E /MIR
Since running my cleanup on ember I have lost every file with the word trailer in it
eg:
12 Angry Men (1957)-trailer.mkv
30 Minutes or Less (2011)-trailer.mpg
I’m looking for a new script to copy back only the missing file with the word “-trailer” to it’s original/primary location. My web searching is not showing much. Have found some scripts which will copy all missing files back to another single folder. As I’m talking about 100’s of files here would prefer not to do this manually.
Any kind robocopy gurus out their to advise on the correct command that can:
Copy missing trailers files back to the original location from the backup and if possible also keep the existing time stamp?
Thanks heaps in advance and saving me from a bit of a nightmare.
Cheers