Hey All, When my desktop was Windows, I’d use my desktop to rip DVD/Blu-rays, move them to the movies folder, then use robocopy to copy just new files from my desktop to my Plex server. Used switches to copy just the new files and folders.
What is the Linux equivalent to do this?
And grsync for a GUI
Rsync is indeed what you’re looking for.
I’m trying rsync right now, and it definitely is copying some existing files. Not all but some. Can’t figure out why.
Or maybe it is evaluating them? Any way to force it to only look at folder and file names?
And after letting it run a couple of hours, it copied nothing. This is really odd. It looks like it is evaluating every file, but again not coping the stuff missing on the destination. Robocopy would take a couple of seconds to run through everything if there was nothing to copy.
Ok, after some looking around and testing, think I finally got what I wanted.
First, map the share, err mount the network share. Gotta use the Linux lingo. :P
sudo mount -t cifs -o username=MyUserName //PlexServerName/Sharename /mnt/movies/
Will have to enter both the sudo password and remote Plex server password manually, but that works for me as this is a manual, not automated, process.And to sync:
sudo rsync -hvrPt --ignore-existing /Drive/SourceFolder/ /mnt/movies/
I was reading somewhere that using -a would add more options that might gum up the works, so I manually expressed what I wanted instead. But I finally got what I was looking for. If you have any suggestions, chime in. Thanks!