Hi there,
I'm not sure I understand the details of which files you want to move, and when. I'd suggest you keep a master copy of all the files in your subfolder, and copy them to the squid folder rather than rename them, though. For example, if you have an "office hours" version and an "after hours" version of the files, call them blocked.acl.day and blocked.acl.night, and then simply copy it to blocked.acl in your squid folder when required. This way your script doesn't need to try and remember which file was last moved, and it is a simple two liner: one "cp" command to copy, and a reload of squid for the change to take effect.
If what you are trying to achieve is different rules for different times of the day, it might be easier to write your ACLs accordingly, though. See
http://wiki.squid-cache.org/SquidFaq...cific_times.3F for an example of this.
Regards,
Clifford