Well, there is POSIX...v-rob wrote:changing and deleting directories, as well as copying, renaming, and moving files and directories.
I wish that there was an API for this
OTOH, what you want to do, maybe it can be done in some other ways -
but you would need to provide more details about your concept.