Hi
I am using Syncovery 9.18d running on some amd64 unix based NAS.
For reasons beyond my control, I need to copy a huge list of files following arbitrary patterns like:
# /volume2/Share02/SpecificInputs/*/*/*Specific*/*.ext1
# /volume2/Share02/SpecificInputs/*/*/*Specific*/*.ext2
# /volume2/Share02/SpecificOutputs/*/*/*Specific*/*.ext1
# /volume2/Share02/SpecificOutputs/*/*/*Specific*/*ext2
What is the least complicated way to do that ?
I considered writing a PascalScript, but I could not find a "ShouldThisFileBeCopied" boolean function.
I considered writing a script to parse all files in my disk and putting all of them in an XML and then importing as a task, but the file will be too large it may cause issues *and* new folders may be created from time to time.
The "masks" section look promising but I could not find documentation on the exact syntax and/or behavour.
Suggestions are welcome.
Thank you
Copy Files with arbitrary paths
Re: Copy Files with arbitrary paths
I guess what I need is here:
OnIncludeItem
I'll try that.
OnIncludeItem
I'll try that.
Re: Copy Files with arbitrary paths
Hello,
yes, OnIncludeItem can be used.
Alternatively, if your profile's base folder is /volume2/Share02/SpecificInputs on the source side, you can use Inclusion Masks like this:
/*/*/*Specific*/*.ext1
/*/*/*Specific*/*.ext2
If the list is too long, you can put it in a text file and reference it in the Inclusion Masks field like this:
:/home/tobias/filelist.txt
The colon in an inclusion mask means that it's actually a file with a list of inclusions.
If you need more assistance, please let me know.
yes, OnIncludeItem can be used.
Alternatively, if your profile's base folder is /volume2/Share02/SpecificInputs on the source side, you can use Inclusion Masks like this:
/*/*/*Specific*/*.ext1
/*/*/*Specific*/*.ext2
If the list is too long, you can put it in a text file and reference it in the Inclusion Masks field like this:
:/home/tobias/filelist.txt
The colon in an inclusion mask means that it's actually a file with a list of inclusions.
If you need more assistance, please let me know.
Re: Copy Files with arbitrary paths
Your way worked, much easier than I thought.
Danke, Tobias!
Danke, Tobias!