Suppose I am logged in as user A on a PC. On the same PC there is another user B. I want to move certain files from user's B home folder to A's home folder. Note that neither A nor B are sudo. However, I know the password of both users. What can I do?
PD: I know a workaround using
scp (and then
rm the source files). However that has the downside of copying the files, which can be very slow for large files, while
mv would be instantaneous because it is a local operation. I want a solution that actually moves the files.