it's working !!!
thanks Lars, i changed $f to %f but no success too.
i did without -m and %f and it's working
thanks for your time and answer each time
#!/bin/bash
...
Type: Posts; User: hoop2; Keyword(s):
it's working !!!
thanks Lars, i changed $f to %f but no success too.
i did without -m and %f and it's working
thanks for your time and answer each time
#!/bin/bash
...
thanks lars, that what i did first but i got same error.
i added -m after inotifywait and now i don't have the same error, inotifywait seems to work correctly.
but when i add a file like...
Thanks to you for this solution but it doesn't work for me. It returns the error :
Couldn't watch create: No such file or directory
this is what i did :
#!/bin/bash
...
Ok thanks a lot to you and for your time.
I will look at incron, i used it but with no success, not success i expected.
Thanks to you
Thanks for your answer. Your script works. But print also the last lines stored in /var/log/vsftpd.log
When you said "It's probably because cut does not trim the quotes and the test -s takes...
Hi all, thanks to take time to read this.
I want to do something special : when a file is added (by ftp) to a specific folder, a script launch a command. I found a good script but maybe i made a...