![]() ![]() ![]() I didn't try that exact pattern, but the patterns I did try worked as expected (Unlike FastCopy). You can change include from * to something like \run\*.csv.In the filter tab of the settings you can set "Time span:" to "Last x days:" and set it to the 7 days that you want.There are individual settings per each copy pair that when set override the global settings.There is a global setting at the top to set the defaults for all copy pairs.You define 1 or more source/destination pairs.I don't think FreeFileSync is as fast as FastCopy, but I've never seen it act as bad as what I experienced with RoboCopy. Maybe other people have had better experience with RoboCopy, but I found it to take literally many multiples longer to do the same job as many other copy programs. Maybe that has changed, I haven't looked into that lately. There is a little bit of a learning curve with FreeFileSync, but really, the only problem/complaint I've had with it is the xml based batch script that you can use to automate the program kept changing formats and they haven't been providing a way to read the old xml batch scripts with the new version of the software. I wasn't getting the results I expected, so that leaves FreeFileSync. But found problems running FastCopy when trying to filter folders the way you described. I was going to point to you either FastCopy or FreeFileSync, both handle long file name paths and work well for me. ![]() My robocopy command: robocopy \\server\mainfolder \\server\new_main_folder /S /maxage:7 /r:0 /w:0 all the csv files are in a folder called "run" in each parent folder(parent folder is a unique number within the "mainfolder". If possible even further, i only want csv files in each of the folders in my main folder but current robocopy searches the other folders and its files as well which takes time. It looks like powershell commands may be a way for me to limit the search of files for my robocopy, would this be possible? currently robocopy search each files in each folder in my main folder, ideally i would want it to be smart enough to only search even a months worth of files and then copy over last 7 days. however, the main folder has a huge amount of folders dating back years(and i only need last 7 days each week it runs) so its slow reading each file in each folder before it even copies using robocopy. I have a robocopy command that pulls in any files within its many subfolders that are within a maxage of 7. Apologies to start as im new to powershell and robocopy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |