Data in other account's directory cannot be transferred by mv or cp command due to authority problem.
This page explains the file transfer procedure between accounts for those who have multiple accounts.
Please use SCP command.
In this case, you need to know the name of file and directory on the server in advance.
In the following example, a61234 is an account currently connected, another account is b61234.
1.Type the following command on frontend.
- from b61234 to a61234
- + If you want to transfer the file "sample.f" onto the home directory of a61234 to the home directory of b61234:
% scp b61234@localhost:sample.c ~
- from a61234 to b61234
- + If you want to transfer the file "sample2.f" onto the current directory to the home/abc/ directory of b61234:
% scp ./sample2.c b61234@localhost:abc
† You can transfer multiple files simultaneously and recursively transfer files per-directory For detail, please use "man scp".
2. Type "yes" when you first connect and the following message will appear:
The authenticity of host 'localhost' can't be established but keys of different type are already known for this host.
RSA key fingerprint is 19:14:7f:28:54:39:16:9a:99:d0:db:93:d6:ff:f3:13.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
3.Type the password of b61234.
(Typed password is not displayed)
4.File transfer will start. Transfer status is displayed during the file transfer.
sample.f 100% |*****************************| 1326 00:01