Alex Eftimiades <[email protected]> wrote: > I am trying to complete the functionality of the rename page script. I > could not find any documentation as to how I might go about moving any > page specific attachments from the old page to the new page. I am not > even sure if it is currently possible. > > If it is possible, could someone please tell me how?
If you store attachments per Group/Page, it should be fairly trivial to move them. Untested pseudo-shell: mkdir -p uploads/NewGroup/NewPage mv uploads/OldGroup/OldPage/* uploads/NewGroup/NewPage/ (the -p option on mkdir tells it to make intervening directories if they don't yet exist in the path.) _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
