[Typo3] Easy way to copy whole directories and paste them?

Alex Heizer alex at tekdevelopment.com
Mon Oct 24 09:33:08 CEST 2005


A-san wrote:

>I want to create three pretty much identicaly subsites.  I have created 
>one of the subsites.  How can I make a copy of the subsite with all its 
>inner directories and pages and paste them easily?
>
>I'd rather do this instead of copy/pasting each page individually.
>
you should be able to copy and paste the pages recursively, so if you 
copy/paste the first page of the subsite, it will keep the entire tree. 
If you get an error when you try to copy/paste recursively, go into 
"Setup" in the "User" section of the left menu, select your username, 
then change the "Recursive Copy" value. Set it higher than the number of 
levels of pages in the tree (8 is usually high enough) and save the 
settings.

As for the directories in the Filelist, it won't let you copy/paste a 
top-level directory into the same place because the directory name it's 
trying to paste will be the same as an existing directory. So instead, 
if the copy directory is /fileadmin/subsite/, make a new directory 
first, named /fileadmin/subsite2/, then copy /fileadmin/subsite/'s 
contents into the /fileadmin/subsite2/ directory. It helps if you 
structure your directories in /fileadmin/subsite/ so that you only have 
one or two subdirectories to copy, such as /fileadmin/subsite/home/ and 
/fileadmin/subsite/templates/, with everything under it's respective 
subdirectory.

Hope this helps.

Alex



More information about the TYPO3-english mailing list