Copy "new files found" on my debain (Server) to windows 7 (Home PC)
Hi all I have a Debian server and there is one folder (which updates with new folders files etc...) quite alot and am trying to find a way to copy everything from there to my windows 7 pc.
Now I only want it to copy "new items" found and not the same files items etc... everytime (all automatically) My linux skills are close to zero so am really finding it hard to work this out (if something like this can be done that is) Thanks alot! Mike |
Sounds like you could mount a shared directory on the Windows machine via Samba, and sync that up with the local directory using rsync.
|
Quote:
|
Quote:
If the files are going to be moved once they're on the your windows machine then you would need to setup a log file and have rsync or another utility check that log file to see what needs to be moved regardless of whether it exists on the client, otherwise tools like rsync just look at the server and client and they make the files on each side match up. So, why do you want to manually move the files once they're on the windows machine? Are you doing this for the purpose of backup or what're you hoping to accomplish? |
Quote:
I have a folder on my server which downloads are added /home/leeching done I want everything in that folder to be "copyed (only once per file)" to my home pc Q:/leeching done I want it copyed so that it can still be in seeding state When its back on my home pc I will be moving them to there right places >> Hope this makes it easyer to work out what am trying to do :) Cheers |
Got it, so I'd still recommend setting up a samba share (this will initially take some time, effort and research) but samba has a great deal of documentation and there are thousands of tutorials out there. From there you just need a basic little script to run as a cronjob something like
Code:
#!/bin/bash |
Oh and if this runs for long enough you'll have to add some lines to prune the excludes/logfiles from time to time but I doubt that will be an issue for a long time ;)
|
All times are GMT -5. The time now is 07:47 PM. |