PDA

View Full Version : how to copy folder?



uglyn
07-03-2004, 06:10 PM
Hi everyone,

I'm not sure is this right place to ask this question but here it is...

Ho do I copy complete folder using file manager? When I check folder and add it to clipboard and than I try "Copy clipboard files here" I get:

Directory copying is not currently supported.

How do I enable this? If anyone can help me please do :)
Thanks.

nobaloney
07-03-2004, 07:52 PM
Seems to me that if copying the entire folder isn't supported you'll first have to create a new directory where you want it copied to, then copy the files within the old directory to the new directory.

Jeff

uglyn
07-04-2004, 06:00 AM
:( Easier said than done. I have to make 10 copies, but folder I have to copy has about 5 subfolders (and some of those have subfolders). So I guess it will take forever. :(

nobaloney
07-04-2004, 09:08 AM
Do you have shell access to the server?

If so you can us this command, from the directory above the directory you want to copy:

# cp -Rp directoryname path/to/new/directory/name

(the "R" means "recursively" and the "p" means keep all the permissions/owners, etc., where possible)

If not, perhaps read up on ftp; it may have the commands you need (we run scripts that use ftp to move directories; I don't know if it has a command to copy them or not).

Jeff