Skip to content
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

Incron fails to run for files with a tilde (~) character in them #33

Open
josswright opened this issue Jun 28, 2016 · 2 comments
Open

Comments

@josswright
Copy link

If the filename ($#) for an event contains a tilde character (~) then the associated command from incrontab does not run. (Nothing shows up in my system log.)

@josswright
Copy link
Author

josswright commented Jun 28, 2016

This seems to be fixable with pretty much the same hack that was used to make spaces in filenames work. The attached patch is good enough for my purposes right now, but I'm sure there must be a standard function out there to do this escaping!

tilde_fix.txt

@eworm-de
Copy link

Suffering something else with quotes, fixed it in #91
Looks like there are more characters to check...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants