Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] sync single remote director out of many directories

I create the filters during the "convert project to synchronized project" wizard, also for the "show remote files"
 
The remote directories I want to sync have less than 1Mb but the I see the initial sync download >3Gb data before running out of disk space. That's why I wonder if the filters are applied after the download.
 
Henrik
 
 

From: ptp-user-bounces@xxxxxxxxxxx [ptp-user-bounces@xxxxxxxxxxx] on behalf of John Eblen [jeblen@xxxxxxx]
Sent: Friday, January 15, 2016 1:59 PM
To: PTP User list
Subject: Re: [ptp-user] sync single remote director out of many directories

Hi

Only files that are not filtered should be packed and sent, so I don't think that is the problem.

Do you create the filter inside the new project wizard? If not, then the first sync will synchronize
everything. Also, filtering so that only certain files are sync'ed is a little tricky. It is not enough
to just have include patterns for those files. You first need a pattern that excludes all files. Then the
include patterns become exceptions to that pattern. Could you send the patterns that you use?

Synchronized projects ignore the gitignore file to avoid conflicts with the project's version control,
so that will not work.

John

On Fri, Jan 15, 2016 at 3:31 PM, Sorensen, Henrik <Henrik.Sorensen@xxxxxxxxxxx> wrote:

I am fairly new to PTP.

 

I have a need to synchronize just a few sub directories out of a large directory structure.

 

Remote :

/a0

!---/b0

!---/b1

!---/b2

!---/b3

  

 

Locally I want to see these two directories:

/a0/b1

/a0/b3

 

Even when defining the filters to include just b1 and b3 directory the sync operation runs out of space.

This leads me to think if the filters only applied locally and the ptp sync packs the whole remote directory and send to local ?

 

Is there a way to achieve this beside creating a remote project per directory I am interested in?

 

Is it safe to create a .gitignore file on the remote system that simply ignores the directories I am not interested in (of course keeping the .ptp-sync/ entry) ?

 

 

Thanks

Henrik


______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.

Back to the top