Exclude List

Use this forum to share your TeamDrive "nice to have" ideas - Nutzen Sie dieses Forum, um Ihre TeamDrive "wäre schön zu haben" Ideen zu teilen

Exclude List

Postby rhomberg » 03 Oct 2012, 13:57

It would be great if one could configure an exclude list for a space (preferably based on patterns).
My accounting program writes a file on almost every click, which fills up the trashcan and the metadata. I would gladly forgo synchronization of that file.
rhomberg
 
Posts: 14
Joined: 05 Aug 2010, 13:56

Re: Exclude List

Postby Kenneth » 04 Oct 2012, 11:58

Would it be possible to store that file outside of the Space folder?
Kenneth
 
Posts: 1277
Joined: 29 Aug 2012, 15:11

Re: Exclude List

Postby rhomberg » 08 Oct 2012, 08:31

Not in this case; the lock file is in the same directory as all the data files that must by synced.
rhomberg
 
Posts: 14
Joined: 05 Aug 2010, 13:56

Re: Exclude List

Postby Amadeus » 15 Oct 2012, 08:30

There are many posts concerning this issue. I have too asked details about it in the past, but the post remained un-answered: http://forum.teamdrive.net/viewtopic.php?f=3&t=1652#p5376

In TeamDrive 2.0, there was a feature that involved editing the default.ini file under /fsConfig/filter. That method affected only the local client and not the Spaces. It was not perfect but it was a solution. What would be better, would be a similar file under each Space's folder, that would also be synchronized and would affect the Space (much like .gitignore of Git).

TeamDrive devs said they would introduce an even better mechanism in TeadmDrive 3, however, even the old method is no longer available in TeamDrive 3 (no fsConfig folder).

Please either implement this feature, or provide us with a workaround (like the one in TeamDrive 2.0). The lack of this feature alone, is keeping us from upgrading to the latest version.

Regards,
Perikles C. Stephanidis
Amadeus
 
Posts: 2
Joined: 29 Apr 2012, 17:01

Re: Exclude List

Postby Kenneth » 16 Oct 2012, 14:07

Info about File Filtering on TeamDrive 3

When editing the TeamDrive filter file it is important that you use a standard text editor. We recommend using TextEdit (OS X) or NotePad (Windows).
WordPad (Windows), for instance, will add text formatting which could possibly cause disruptions when applying the filter.

When saving the file it is important to save it as a UTF-8 encoded file and to not add a ".txt" extension:

On Windows these options can be found during the "save as" process. Under 'Save as type' select 'All Files'.
Under 'Encoding' select UTF-8

On OS X these options can be found under the preferences pane. Uncheck the box "Add '.txt' extension to plain text files".
One the "Open and Save" tab and under the section "Plain Text File Encoding" > "Saving Files" select "Unicode (UTF-8).


"teamdrive.fsfilter" is the standard filter file. The file can be found in
the "user shared path":

Windows: "C:/ProgramData/TeamDrive3/"
(If the 'AppData' folder is not visible, search for the folder using,
"%programdata%")
On Windows XP there is, however, no shortcut to this folder. You have to manually navigate to this folder. The folder is also hidden. C:/Documents and Settings/All Users/ApplicationData/TeamDrive3. You can enable hidden folders in the "Folder Options" settings. This can be found in the "Control Panel". Start > Settings > Control Panel > Folder Options > View > Hidden files and folders > Show hidden files, folders and drives.

Linux: "/etc/"

Mac OS X: "/Users/Shared/"

If the "teamdrive.fsfilter" has been moved from its default location,
the new location of the file needs to be defined in the "teamdrive.ini" file.

The "teamdrive.ini" file can also be found in the "user shared path".

To define the new location of the "teamdrive.fsfilter" file use:

fs-filter-file=<Path><Name>



The filter functions are based on Wildcard Matching.
(the ability to identify a group of files by using wildcards)

Any character represents itself apart from those mentioned below. Thus c matches the character c.

?: Matches any single character. It is the same as . in full regexps.

*: Matches zero or more of any characters. It is the same as .* in full regexps.

[...]: Sets of characters can be represented in square brackets, similar to full regexps. Within the character class, like outside, the backslash has no special meaning.


#: Denotes that everything follwing is treated as a comment.

Examples:


Filtering Data

#Filter all "newname.txt" files

*/newname.txt



Filtering based on file ending

#Filter all ".lock" files

*.lock



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

Re: Exclude List

Postby teamdriveuser3 » 13 Dec 2012, 18:15

Thank you so much for this.
teamdriveuser3
 
Posts: 17
Joined: 20 May 2011, 22:42

Re: Exclude List

Postby teamdriveuser3 » 13 Dec 2012, 18:24

Would it be possible to exclude files from downloading, but still have them uploaded?

I think I remember this was possible with teamdrive 2...

Thanks
teamdriveuser3
 
Posts: 17
Joined: 20 May 2011, 22:42

Re: Exclude List

Postby teamdriveuser3 » 13 Dec 2012, 19:31

Also, is it possible to exclude Files without a dot or without extension?

E.g. a filename like "A0C0D498B" or whatever like MS Excel produces?
teamdriveuser3
 
Posts: 17
Joined: 20 May 2011, 22:42

Re: Exclude List

Postby paulreddy » 14 Dec 2012, 03:14

I like it.

Perhaps you could extend it to include
    file types (by ext)
    file sizes (>10MB for example)
    regex/patterns
That would also help with folder syncing. I've raised an issue with syncing folders
here (http://forum.teamdrive.net/viewtopic.php?f=21&t=2255).
Kenneth responded saying that they didn't want to do (what I consider) proper
folder syncing partially because of the potential to accidently sync big
files.

Filtering solves his problem. Then they could add proper folder syncing.
You've got my vote (not that its worth much) :-)
paulreddy
 
Posts: 28
Joined: 13 Dec 2012, 05:07

Re: Exclude List

Postby Kenneth » 14 Dec 2012, 15:18

teamdriveuser3 wrote:Would it be possible to exclude files from downloading, but still have them uploaded?

I think I remember this was possible with teamdrive 2...

Thanks
Yes. When you join a Space there is an option to download the directory information (metadata) only. Files not be automatically downloaded but you can still upload files to the Space. Files can be downloaded at your leisure. You can only select this option when joining/recovering a Space. If you are currently in a Space where you would like to do this, right-click on the Space and select "Recover Space" you will then be able to select to only download the metadata.
Image

This is also only possible with a professional license.


teamdriveuser3 wrote:Also, is it possible to exclude Files without a dot or without extension?

E.g. a filename like "A0C0D498B" or whatever like MS Excel produces?
It's only possible to filter things that exist. And by 'exist' I mean things with an extension or some sort of line of text. If all the files begin with A0... you should be able to filter files containing those characters in that order.

paulreddy wrote:I like it.

Perhaps you could extend it to include
    file types (by ext)
    file sizes (>10MB for example)
    regex/patterns
That would also help with folder syncing. I've raised an issue with syncing folders
here (http://forum.teamdrive.net/viewtopic.php?f=21&t=2255).
Kenneth responded saying that they didn't want to do (what I consider) proper
folder syncing partially because of the potential to accidently sync big
files.

Filtering solves his problem. Then they could add proper folder syncing.
You've got my vote (not that its worth much) :-)
Filtering by file extension is already possible.
Filtering based on file ending

#Filter all ".lock" files

*.lock
Kenneth
 
Posts: 1277
Joined: 29 Aug 2012, 15:11

Next

Return to Nice to Have - Wäre Schön zu Haben

Who is online

Users browsing this forum: No registered users and 4 guests

cron