totoba
(totoba)
August 21, 2016, 2:40pm
1
Hi
I am trying to ignore some large files and trying to get only one particular directory from a shared repo.
This is my .stfiles (which is included in .stignore)
!.stfiles
!@EMU
*.hdf
*
Emu folder is synced nicely but I still get those .hdf files inside that folder. Basically I do not want the .hdf files
thanks
It stops processing ignores after hitting the first match, which I suspect is the @EMU inclusion, as its still part of the path of the file you are trying to ignore.
chrisisbd
(Chris Green)
August 21, 2016, 3:27pm
3
You need to put the ‘*.hdf’ in .stignore in the Emu folder
totoba
(totoba)
August 22, 2016, 5:48am
5
I do not care how I have to layout this .stignore stuff but I just want the @EMU folder from the sync and ignore all the .hdf files from @EMU otherwise I run out of space on my device.
thanks
Cam you actually provide the paths of the files (both you are trying to sync and ignore) and actual content of .stignore.
totoba
(totoba)
August 22, 2016, 1:18pm
7
(SYNCROOT)/@EMU (I just want this folder from the whole SYNCROOT)
(SYNCROOT)/@EMU /@AMI /Amik.hdf (I do not want this file and other *.hdf)
(SYNCROOT)/.stignore
(SYNCROOT)/.stfiles
.stignore
#include .stfiles
.stfiles
!.stfiles !@EMU *.hdf *
wweich
August 22, 2016, 1:29pm
8
If I understand it correctly, your .stfiles
should have this:
!.stfiles
*.hdf
!@EMU
*
In your current .stfile
the *.hdf
is unnecessary because the *
in the next line already ignores all files.
This could also work:
!.stfiles
!@EMU
@EMU/**.hdf
*
I already said, move *.hdf above @EMU
totoba
(totoba)
August 22, 2016, 2:03pm
10
Sorry if I missed that part but I did not see your reply as a solution. It sounded like a comment before.
I tested @Chris_Greens solution which did not work.
system
(system)
Closed
September 21, 2016, 2:06pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.