Suppose you have files in example.com/exampledir/
You decide that older files will go into example.com/exampledir/archive/ (maybe monthly)
After a certain period of time (annually), you want to remove them from /exampledir/archive/
files all have extension .html, would never be index.html or anything like that.
If they're in /exampledir - all should be as normal - don't look anywhere else.
If they're in /exampledir/archive/ - you want them displayed, and preferably with a 301 or 302 redirect.
And finally, if not in /archive/ they've been removed. And I'd rather have a 410 result, not a 404.
Is this possible?
But, is that what you wanted to know?
Or, did you want to know if it's possible to move and delete the files automatically??