Brennan Posted April 16, 2009 Posted April 16, 2009 I cant seem to remember how to make it that only new files and files that have been updated are the only ones that get copied. I did search it but I am probably using the wrong term Quote
decepticon_eazy_e Posted April 16, 2009 Posted April 16, 2009 I cant seem to remember how to make it that only new files and files that have been updated are the only ones that get copied. I did search it but I am probably using the wrong term Perhaps you are talking about using the Archive bit? http://en.wikipedia.org/wiki/Archive_bit Quote
Brennan Posted April 16, 2009 Author Posted April 16, 2009 Perhaps you are talking about using the Archive bit? http://en.wikipedia.org/wiki/Archive_bit yeah that could be it but how would I implement that into my bat file Quote
davil Posted April 17, 2009 Posted April 17, 2009 yeah that could be it but how would I implement that into my bat file I would use 7-zip (command line version) - that way you can compress the files too. if you need them to be not compressed (for speed) you could just make a non-compressed archive. I can't remember the exact parameters but if this sounds like it would be of any use, let me know and I'll upload my script when I get home (don't have it with me). However if you want the files to be just files, and don't want to have to un-archive them later, I would try XXcopy [http://www.xxcopy.com] - this obviously depends if you're using your script to do backups or for some other reason. Wanna give us some more info so we can help more ? of course there's probably a way to do it with normal copy or xcopy but that would probably be os-dependent and seeing as I don't know whether you're running this on one OS or multiple (or even what your OS is for that matter), I've done a bit of guessing. Rant over. Quote
Brennan Posted April 17, 2009 Author Posted April 17, 2009 I would use 7-zip (command line version) - that way you can compress the files too. if you need them to be not compressed (for speed) you could just make a non-compressed archive. I can't remember the exact parameters but if this sounds like it would be of any use, let me know and I'll upload my script when I get home (don't have it with me). However if you want the files to be just files, and don't want to have to un-archive them later, I would try XXcopy [http://www.xxcopy.com] - this obviously depends if you're using your script to do backups or for some other reason. Wanna give us some more info so we can help more ? of course there's probably a way to do it with normal copy or xcopy but that would probably be os-dependent and seeing as I don't know whether you're running this on one OS or multiple (or even what your OS is for that matter), I've done a bit of guessing. Rant over. yeah that would be helpful for my other backups but for my music I have the web server enabled and I am backing up my music to the web folder this way when I am away with my eee I can listen to my whole collection so I need the music files to not be archived and just normal copies Quote
VaKo Posted April 17, 2009 Posted April 17, 2009 Check out Microsoft's SyncToy 2, it will automatically sync your PC with your archive server, laptop or anything else that can be reached with Samba. http://www.lagesse.org/using-microsoft-syn...2-with-freenas/ Quote
davil Posted April 17, 2009 Posted April 17, 2009 Check out Microsoft's SyncToy 2, it will automatically sync your PC with your archive server, laptop or anything else that can be reached with Samba. http://www.lagesse.org/using-microsoft-syn...2-with-freenas/ good point. completely forgot synctoy. i use that to keep backups of websites I do on my USB stick, among other things. Does anyone know if synctoy is scriptable by command line? or would u have to do an autohotkey / autoit job on it ? Quote
Retro-Starr Posted April 18, 2009 Posted April 18, 2009 robocopy and xcopy have this option. vista has both of these and xp only has xcopy. I don't remember the parameters to do it, but all you have to do is use the --help parameter and read...=] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.