I am not sure weather it's possible or not. I am looking for a script/command that will execute a command or run a scripts when I will add a file in a folder.
I am practicing bash scripting. After writing a bash script, I have to make my script file to a executable using this command
chmod +x filename.sh . All my scripts has stored in a folder named BASH . So, when I add a new
.sh file in that folder, I want a command/script to run which will make my
.sh file executable.
How to do it?