Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: problems with File mask:

OK, so please post a real-life example (full command).
JanM

Re: problems with File mask:

Well, that was an example, which doesn't work for me and I need to make it work to do something more complicated. What I want is to synchronize about 20 folders at the same time. I don't want to go to each folder to run synchronization and I don't want to synchronize the root folder, because that takes over 2 minutes (there is like 2000 folders).

martin wrote:

JanM wrote:

Here is the problem I am struggling with right now:
I want to only synchronize files in directory \lib\pkp\, so I set File mask to:
\lib\pkp\
This will not find any changes in this directory, but it will report changes in the main directory \.

For that you do not use file mask (technically speaking, you can, but it's very ineffective). To specify a root of synchronization, use parameters of the synchronize command (or keepuptodate).
martin

Re: problems with File mask:

JanM wrote:

Here is the problem I am struggling with right now:
I want to only synchronize files in directory \lib\pkp\, so I set File mask to:
\lib\pkp\
This will not find any changes in this directory, but it will report changes in the main directory \.

For that you do not use file mask (technically speaking, you can, but it's very ineffective). To specify a root of synchronization, use parameters of the synchronize command (or keepuptodate).
JanM

problems with File mask:

I spent hours trying to figure our how the masks are working, but with a very little success. Either they are completely counterintuitive or they are just not working properly.

Here is the problem I am struggling with right now:
I want to only synchronize files in directory \lib\pkp\, so I set File mask to:
\lib\pkp\
This will not find any changes in this directory, but it will report changes in the main directory \.

Any help would be appreciated.
martin

Re: Synchronize script problem with include mask

Use:
*/; irr*
See documentation.
pumaking

Synchronize script problem with include mask