View Full Version : Mass file move
MarmaladeMan
02-04-2007, 02:24 PM
I'm considering moving a large section of my site to a user-based subdomain (home/username/public_html/). I've never moved so many files remotely before, and naturally I'm trying to avoid downloading/re-uploading. Is there a faster way to do this (through shell?)? Any advice is a big help, thanks.
dkozinn
02-04-2007, 04:44 PM
If you've got shell access, it's pretty trivial. Use the "mv" command, like this:
mv /source/destination/* /home/username/public_html
For more details (though there's not much more to know), you can use the "man mv" command at your shell prompt.
MarmaladeMan
02-04-2007, 06:22 PM
Thanks dk. I figured it probably wasn't complicated but just wanted to check first. :)
MarmaladeMan
02-04-2007, 07:59 PM
Is it possible to change the owner of the files? I've copied the files over but they're still under the old owner's, err, ownership.
PM me the domain, file location, old username and new username.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.