Exclude target files

Questions and information regarding the Linux desktop client - Fragen und Informationen zum Linux Desktop-Client

Exclude target files

Postby ninereddogs » 24 Apr 2014, 21:26

I'd like to maintain an area of just source code (i.e. java), and then rebuild at each location - i want to add all files except any target folders to the share area.

I've created the following files :

~/.teamdrive/teamdrive.ini

Code: Select all
fs-filter-file=/home/andrew/.teamdrive/teamdrive.fsfilter



~/.teamdrive/teamdrive.fsfilter
Code: Select all
#Filter all /target/ folders

*/target/*



But this doesn't seem to have removed them from the list of files on the teamdrive client.

Any ideas ????
ninereddogs
 
Posts: 2
Joined: 24 Apr 2014, 21:18

Re: Exclude target files

Postby Kenneth » 25 Apr 2014, 12:51

Have you already looked at our how-to about filtering files in TeamDrive?

http://forum.teamdrive.net/viewtopic.php?f=22&t=2601

Here is a snippet from the text about filtering sub-folders. Try that.

Kenneth wrote:Filtering Sub-Folders

#Filter Contents of Folders
#ignore 'newfolder' folders and files

*/newfolder
*/newfolder/*

To filter contents of folders,2 filter expressions have to be written.
The first filter excludes all folders called "newfolder".
The second filter excludes all the contents of folders called "newfolder".
Kenneth
 
Posts: 1277
Joined: 29 Aug 2012, 15:11


Return to Linux

Who is online

Users browsing this forum: No registered users and 8 guests