Possible library backup script?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Tweak_four17
Donor
Posts: 53
Joined: 24 Apr 2014, 19:30

Possible library backup script?

Post by Tweak_four17 »

Some media servers such as Plex record the date modified on a file and use that to scan for new content. When I want to backup my library to a secondary hard drive instead of just copying it I use

Code: Select all

Robocopy C:\SRC D:\DEST /MIR /Copy:DAT /Dcopy:T
This copies all the time stamps as well so I can remove and replace my drives at will and it thinks it is still the same drive as the timestamps match. Is this something Filebot could do? Scan a source drive for media files then copy and sort them to a destination while preserving the orignal timestamps? Maybe even scan the dest drive and only copy and sort what isn't already there?

Would be a cool feature!

Tweak
User avatar
rednoah
The Source
Posts: 23940
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Possible library backup script?

Post by rednoah »

Using robocopy or rsync is probably the best way to sync files.
:idea: Please read the FAQ and How to Request Help.
Post Reply