How to show a warning message when entering a folder?

Posted by Valter Henrique on Super User See other posts from Super User or by Valter Henrique
Published on 2013-06-25T14:37:51Z Indexed on 2013/06/25 16:23 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

I don't know if this is possible, but, I have a folder which I would like to show some warning message when the user enters in it. In my case would say that the folder could be deleted without previous warning to save some disk space. I already create a file inside the folder with the warning message:

WARNING!
##########################################################################################################################################################
Please, 
be advised, that the folder /company-backup/amazon-s3 can be deleted without previous WARNING to save disk space as the INFRASTRUCTURE TEAM judge necessary.

Best regards,
Infrastructure Team.
###########################################################################################################################################################

Is that possible ? Any idea ?

© Super User or respective owner

Related posts about linux

Related posts about folder