-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] rsync exclude option #69
Comments
I think there is a more flexible way. First to explain to others the use case. We have a nested directory structure including a project implemented as a Python package. The structure contains files which are to go on GitHub but aren't program files: README's for example. It would be good if users could clone the repo and install to target hardware using rsync, but without filling the target's filesystem with cruft. I don't relish implementing the Linux rsync approach which is hard to use, let alone to implement or test. I therefore suggest the following "lite" solution. Each subdirectory optionally may contain a text file
Comments welcome. As a practical note it may be a while before I get to address this and #70. |
I understand that implementing something as powerful as the linux rsync exclude would be a little too much. Using files sounds like a good solution in this context. |
I would probably lean more towards creating a hidden file, similar in concept to git's .gitignore file, but call it .ignore or .rshell-ignore |
That sounds OK, but what about Windows and OSX: do these cope with filenames starting with a |
OSX definitely does. Windows does except on really old FAT file systems which only support the 8.3 format and don't support long filenames. |
Please add the option to exclude files/directories from rsync using the option
rshell -p /dev/ttyS3 rsync source/ /destination/ -exclude images
The text was updated successfully, but these errors were encountered: