I've been trying to migrate small parts from my media/download center from windows to linux, before making the jump on my media center. Right now i have a Raspberry pi set up, with raspbian, where i will try out different things before moving.
Right now i've got my media center downloading certain files, that needs to be copied from one directory to another. That part i could do with the most basic linux commands, but the real problem lies in the handling of those files when copied.
in windows i've got a batch script running periodically, where it: -copies files from "a" to "b", and creates a log file. -a program monitoring folder "b" moves and renames the files -the log file prevents the script from copying the same files again and thus preventing duplicates in my media folder.
The code is as follows:
ROBOCOPY "location A" "Location B" /NP /M /S /LOG+:c:\batches\Rename.log
Is this possible to accomplish in linux and if so how?