So I have a bunch of files under one username in cpanel/whm. I am trying to move all the files to another username on the same server. Anyone know of an SSH command or easy way this can be done?
You have to verify if the files at the new location has the required user permissions. Most probably it will be under the ownership of root. You need to explicitly change that using the chown command
in whm there is a option to change user account name. thn u can move your files anywhere in your server
Well since you are on the same server you dont need ssh. If you were sending to different servers the command to use is scp, which is part of the ssh package. scp /from/file/list tohostname:/to/directory/name/. fava
if you are really newbie and dont know anything then use sftpdrive.exe it will work just like you are using windows, http://www.expandrive.com/sftpdrive else if u want to do with ssh then use coomand locate (username of that site ) suppose endless is username locate endless chk the path it might be something like this /home/endless/ then use command to copy cp /home/endless/ /address of new location./ / / hope you understand if u have any problem contact me
How would I move not only the files in the directory, but all the sub-directories as well? I used the mv command and it moved the files only, but not the sub-directories.
The mv command is not recursive. The cp command and the rm is so: cp -r /from /to rm -r /from Should take care of it fava