cells-sync icon indicating copy to clipboard operation
cells-sync copied to clipboard

Add support to ignore files/folder

Open lucasctd opened this issue 4 years ago • 3 comments

I have asked this in the forum and they asked me to open an issue here.

I'd like to ask you to add a feature that allow us to prevent some files or folders from being synced. The behaviour would be similar to .gitignore files.

I would add some patterns to a file and the files or folders that matches them would not be synced. For example:

# .pydioignore file

/node_modules
/logs
/vendor
/build
/yarn-error.log

Thanks in advance.

lucasctd avatar May 24 '21 16:05 lucasctd

Is this feature wanted by the developers? I played with cells a bit and also really needed this feature, because if have some code folders with build directories that i want to exclude.

I implemented a simple .cellsignore file that can be placed at the root of a local directory which is synced with cells-sync. The lines are then added to the Sync.Ignores list of the Sync object.

I would like to open a pull-request to ask for comments/improvement but the contributing.md says to create pull-requests "only if you're invited to". So can i create a pull-request for this?

MnlPhlp avatar Dec 02 '22 07:12 MnlPhlp

hi @MnlPhlp yes that can be a good moment, we will have a "sync sprint" soon :-) just make sure to sign the CLA (pydio.com > community > contribute) and to fork the last version of the main branch !

cdujeu avatar Dec 02 '22 08:12 cdujeu

I need this feature too, is it working now?

dwdcth avatar May 24 '23 03:05 dwdcth