Auto copy a file to the newly created folder with a specific name in Linux
We have a file readme.txt in /home/ and want it to be copied over to all new folders created within /home/johndoe/ with names junk or secret
Requirement
Have inotifywait installed: sudo apt install inotify-tools
Script
Create a bash file copier.sh w...
devlogbook.com2 min read